I can sudo, but I don't have the root password so I can't su root. Using sudo, can I change the root password?
Tell me more
×
Unix & Linux Stack Exchange is a question and answer site for
users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.
|
|
|
So you want to run something like |
|||||||||||||||
|
|
You can also just use
and keep the root account without password. |
|||
|
|
|||
|
|
|
you can also use sudo with the "-i" option. this will log you in as root without using the su command.
|
|||
|
|
|
You can change all these options in sudoers file, even make no password if you want( I would not recommend this though). |
|||
|
|