手机
当前位置:查字典教程网 >操作系统 >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 vsftpd匿名用户上传下载的配置方法

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

Ubuntu root帐户密码修改

Ubuntu压缩/解压缩RAR文件的方法

Ubuntu 上安装IE浏览器的方法

ubuntu添加环境变量的方法

ubuntu12.04开机黑屏解决方法

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

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

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

精品推荐
分类导航