problems with root login - su

Submitted by aleswa on Thu, 2008-08-14 22:32.

If you want to use 'su' instead of sudo to gain root privileges, you must:

1) assign a password to root: 'sudo passwd root'
2) setuid /bin/su: 'chmod 4750 /bin/su'

because of permissions then you have to run:

sudo su - username

to became that user

( categories: )