|
|
|
sudo su and sudo sh...
don't seem to incorporate the evironment settings from my normal shell. I like my "ls" to always appear the same, etc., whether I have normal priviledges or I'm sudo-ing.
I also thought the "su" command would log you in as root, and the point of this hint was to obtain a shell with root-like priviledges without enabling the root account.
The
sudo su and sudo sh...
The Apple definition of 'enabled' is, I think, a bit misleading. The root account is always enabled. It just does not have a password by default. That is, you can do stuff as root but you just can't log in as root. Your hint is using sudo to create a root shell without having to give a root password.
Out of curiosity, why do you need a root shell? As the admin user, there is very little that you can't do on the system in your own little shell and you can use sudo to do the other tasks... Not to say that what you are doing is wrong, but I like to keep the time I spend with super-user powers to a minimum. |
SearchFrom our Sponsor...Latest Lion HintsWhat's New:Hints1 new Hints in the last 24 hoursComments last 2 days
Links last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2013 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Powered by Geeklog Created this page in 0.14 seconds |
|