日志文章

2020-6-4 aflfte2011

debian 允许root用户登录

1.允许以root用户登录操作系统
默认情况下debian是不允许以root用户登录的,只能以其他用户登录系统中,然后su到root用户下进行操作。

1.1修改/etc/gdm3/daemon.conf文件
新增下面一行AllowRoot = true

[security]
AllowRoot = true

1.2修改/etc/pam.d/gdm-password

注释掉下面内容

#auth required pam_succeed_if.so user != root quiet_success

然后重启操作系统,就可以使用root用户登录操作系统了。


« raspbian ros安装 | debian ros安装»