inh Posted March 24, 2012 Share Posted March 24, 2012 It's pretty annoying logging in via root, unraring a bunch of files, then having to run newperms on the directory becuase they are all root-owned. For now, I just run this to allow me to switch to user nobody and unrar and move files: usermod -d /mnt/user/awaitingunrar/ -s /bin/bash -p someotherpassword nobody There is a good chance I missed something obvious, but maybe not. Is there a better way? Quote Link to comment
cushy91 Posted March 26, 2012 Share Posted March 26, 2012 You can give another user shell access using the command below: usermod -s /bin/bash "insert username here" Minus the quotes Give that a try and see how you get on Quote Link to comment
cushy91 Posted March 26, 2012 Share Posted March 26, 2012 ^ This way you can just log in as a diff user which will have nobody permissions Quote Link to comment
Flomaster Posted June 6, 2012 Share Posted June 6, 2012 You can give another user shell access using the command below: usermod -s /bin/bash "insert username here" Minus the quotes Give that a try and see how you get on it worked just as you described. now will this command need to be ran after every reboot? do I need to add to my go script? -=Jason=- Quote Link to comment
sacretagent Posted June 6, 2012 Share Posted June 6, 2012 you can add it into your go script or wait and install RC5 which will have this standard Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.