Monday, May 30, 2011

Setting root password in Ubuntu variants

Ubuntu relies heavily on the sudo command for administration tasks. However, sudo and superuser modes are not identical and whether you want to change the root password for comfort, necessity, or security purposes, the process is simple:

$ sudo passwd
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully

Now you can use the su command.

No comments:

Post a Comment