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? 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 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 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=- 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 Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.