|
|
A simple fix for incorrect Home folder ownerhsip problems
I'm glad someone else posted this...
A simple fix for incorrect Home folder ownerhsip problems
f you must run multiple instructions as root, for the love of god use "sudo -s" (opens a root shell by default) or "sudo tcsh" (or bash, zsh, etc).Or even just good old:
Although I prefer using the "-" argument:
Which uses root's (probably more secure) login environment, not yours.
"sudo" is meant to do a one-line command as if you had run su, thus the name. And just f.y.i. (some people don't know) "su" stands for "super user".
See? These cryptic Unix commands can all make sense! :-)
A simple fix for incorrect Home folder ownerhsip problems
actually, su stands for substitute user or switch user. su, like sudo, can be used to switch to (or execute a command as) any user and not just root (the so-called super user). see
man su and man sudo for more details.
|
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.27 seconds |
|