手机
当前位置:查字典教程网 >操作系统 >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开机自动禁用无线网络的方法

Ubuntu系统下升级内核的方法

Ubuntu root帐户密码修改

调整ubuntu启动界面vga分辨率的方法

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

ubuntu清理磁盘空间的多种方法

ubuntu系统中安装editplus的方法

Ubuntu root忘记密码的解决方法

在Ubuntu 12.04中安装Gnome Shell扩展具体的方法

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

精品推荐
分类导航