I get this:
Macintosh:8.4 TAmoyal$ su Password: su: Sorry Macintosh:8.4 TAmoyal$
I typed in the password I use for sudo. Why won't this work?
su program expects you to supply the password of the user you become.
sudo program expects you to provide your own password. The configuration file for
sudo controls what you can do with it. With
su, knowledge of the other persons password is sufficient.
sudo is much better; it doesn't require shared passwords.
Based on my experience:
Unless the account you are logged in as has "admin" privileges, you are not allowed to
What I did is create a second account "Administrator" (admin) that has admin privileges then
and then the shell I'm in is root.
My advice: Modify the file
/etc/pam.d by inserting the group you intend to enable for su-ing the root to
pam_group.so group=admin,<yourgroup> where
<yourgroup> may be
staff (=standard users) for example.
In order to do this you have to be root already (admin is not sufficient).