手机
当前位置:查字典教程网 >操作系统 >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下基于格式化命令 格式化U盘的方法

Ubuntu root忘记密码的解决方法

Ubuntu系统下升级内核的方法

解决ubuntu crontab不执行的方法

关于ubuntu sudo及root登录等相关资料

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

ubuntu安装postgresql和使用方法

ubuntu系统中安装editplus的方法

ubuntu使用root权限登录的设置方法

ubuntu13.04设置root权限详解

精品推荐
分类导航