手机
当前位置:查字典教程网 >操作系统 >Ubuntu/Debian >ubuntu开启root权限和禁用root帐号的方法
ubuntu开启root权限和禁用root帐号的方法
摘要:新安装的ubuntu默认不能使用root,需要我们手动开启在终端中输入:sudopasswdrootEnternewUNIXpassword...

新安装的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

【ubuntu开启root权限和禁用root帐号的方法】相关文章:

ubuntu系统中安装editplus的方法

ubuntu命令行打开html文件的方法

Ubuntu 上安装IE浏览器的方法

Ubuntu开启.htaccess的支持配置方法分享

Linux/Ubuntu sudo不用输入密码的方法

ubuntu安装虚拟磁带库mhvtl的方法

Ubuntu root忘记密码的解决方法

ubuntu系统下播放mp3及中文乱码的解决

ubuntu 无线拨号上网方法

ubuntu下安装和配置SVN的详细方法介绍

精品推荐
分类导航