how to log in root using su

 

What I do to create the root on ubuntu: first I do this

sudo -i

then

passwd

as @Zignd mentioned the classical messages will appear:

Type new UNIX password: [Type the root password you want]
Retype new UNIX password: [Retype the root password you chosen before]
passwd: password updated successfully

then I can use the su as a normal root acount...

 

来源:https://askubuntu.com/questions/155278/how-do-i-set-the-root-password-so-i-can-use-su-instead-of-sudo#155279

 

posted @ 2024-11-12 20:51  profesor  阅读(2)  评论(0编辑  收藏  举报