calmesal Posted August 28, 2007 Share Posted August 28, 2007 Does any one know how to enable root account i in Leopard? There is no netinfo manager in systemPrefs to enable as inin Tiger. I tried in terminal typing sudo and sudo -s withot any luck. Link to comment Share on other sites More sharing options...
tekn04 Posted August 28, 2007 Share Posted August 28, 2007 sudo su works for me if what you mean is logging into root in the terminal Link to comment Share on other sites More sharing options...
ipguy Posted August 28, 2007 Share Posted August 28, 2007 Does any one know how to enable root account i in Leopard?There is no netinfo manager in systemPrefs to enable as inin Tiger. I tried in terminal typing sudo and sudo -s withot any luck. type "sudo passwd root" Link to comment Share on other sites More sharing options...
dbsalanw Posted August 28, 2007 Share Posted August 28, 2007 You can also enable the root acc. by using the Directory Utility.app in /Applications/Utilities/. Go to the "edit" menu, and then enable root users. Link to comment Share on other sites More sharing options...
calmesal Posted August 28, 2007 Author Share Posted August 28, 2007 You can also enable the root acc. by using the Directory Utility.app in /Applications/Utilities/. Go to the "edit" menu, and then enable root users. Where is this utility.app in /applications/utility? I dont have it! Typing sudo su or sudo passwd root require root password, but if this is is not enabled, you cant gain root access anyway. Am I missing this utility.app? PS: I am on 9A466 Link to comment Share on other sites More sharing options...
Doosje Posted August 28, 2007 Share Posted August 28, 2007 sudo -s to keep working under root Link to comment Share on other sites More sharing options...
calmesal Posted August 28, 2007 Author Share Posted August 28, 2007 sudo -s to keep working under root As I said , typing sudo -s givs following: Last login: Tue Aug 28 16:37:38 on console users-acpi:~ user$ sudo -s WARNING: Improper use of the sudo command could lead to data loss or the deletion of important system files. Please double-check your typing when using sudo. Type "man sudo" for more information. To proceed, enter your password, or type Ctrl-C to abort. Password: users-acpi:~ user$ $ this is not root, should bee # in the front of user, I have used tiger since it came out, the command should be the same. I simply cant activate the root account. Link to comment Share on other sites More sharing options...
Doosje Posted August 28, 2007 Share Posted August 28, 2007 are you sure ? maybe the root shell is changed. . type: whoami (when you did the sudo -s) Link to comment Share on other sites More sharing options...
calmesal Posted August 28, 2007 Author Share Posted August 28, 2007 are you sure ? maybe the root shell is changed. . type: whoami (when you did the sudo -s) Yes! Here is the console log: Last login: Tue Aug 28 18:26:42 on console users-acpi:~ user$ sudo -s WARNING: Improper use of the sudo command could lead to data loss or the deletion of important system files. Please double-check your typing when using sudo. Type "man sudo" for more information. To proceed, enter your password, or type Ctrl-C to abort. Password: users-acpi:~ user$ whoami user users-acpi:~ user$ I am still user. BTW: Solved the broblem by changing my current users PW and typed sudo-s an now I am in bash-3.2#root Thanks all. Link to comment Share on other sites More sharing options...
Doosje Posted August 28, 2007 Share Posted August 28, 2007 BTW: Solved the broblem by changing my current users PW and typed sudo-s an now I am in bash-3.2#rootThanks all. did you have an empty pass ? Link to comment Share on other sites More sharing options...
ipguy Posted August 28, 2007 Share Posted August 28, 2007 Where is this utility.app in /applications/utility? I dont have it! Typing sudo su or sudo passwd root require root password, but if this is is not enabled, you cant gain root access anyway. Am I missing this utility.app? PS: I am on 9A466 Type "sudo passwd root", it will ask you for apassword to the user account your currently logged into, type it in, then it will ask you to set a root password. Link to comment Share on other sites More sharing options...
twophive Posted August 29, 2007 Share Posted August 29, 2007 sudo -l sudo passwd root Link to comment Share on other sites More sharing options...
Stone Posted June 10, 2009 Share Posted June 10, 2009 sudo -lsudo passwd root Much appreciated. That worked for me. Cheers. Link to comment Share on other sites More sharing options...
Recommended Posts