When I type su and enter my admin password in the terminal, it rejects the password as invalid. Is my admin password not the same as the superuser password. If its not the same, then how do I retrieve my su password. I never set it anywhere. The only password I set was my admin password. Any idea anyone?
Hi Huckster,
One doesn't login as the root user on Mac OS X. By not giving root a password, in one fell swoop Apple has stopped the script kiddies in their little tracks. The "preferred" method for accessing root privileges is via the sudo command. Preface a simple command with sudo and you will be prompted for the password of the current user. If that user is an admin user, the command will run as root.
If you want a root shell just execute the command:
sudo -s
After authenticating that command you will be running in a root subshell just as if you'd typed su with no arguments.
--
Gary ~~~~
There are worse things in life than death. Have you
ever spent an evening with an insurance salesman?
-- Woody Allen
Hi Huckster,
One doesn't login as the root user on Mac OS X. By not giving root a password, in one fell swoop Apple has stopped the script kiddies in their little tracks. The "preferred" method for accessing root privileges is via the sudo command. Preface a simple command with sudo and you will be prompted for the password of the current user. If that user is an admin user, the command will run as root.
If you want a root shell just execute the command:
sudo -s
After authenticating that command you will be running in a root subshell just as if you'd typed su with no arguments.
--
Gary ~~~~
There are worse things in life than death. Have you
ever spent an evening with an insurance salesman?
-- Woody Allen