Created
December 14, 2014 06:42
-
-
Save qqli007/ec9a4f8b12b9820c9e08 to your computer and use it in GitHub Desktop.
linux相关的
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1.UBUNTU中如何获得root权限 | |
在终端中输入: | |
sudo passwd root | |
Enter new UNIX password: (在这输入你的密码) | |
Retype new UNIX password: (确定你输入的密码) | |
passwd: password updated successfully | |
以后,如果在想获得root权限,只需进行如下的操作: | |
su root | |
Password: (在此输入你上面设置的密码) | |
如果要再次禁用 root 帐号, | |
那么可以执行 sudo passwd -l root |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment