V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
codercoo
V2EX  ›  Linux

无法用普通用户名登陆我的系统了

  •  
  •   codercoo · 2016-06-21 15:11:48 +08:00 · 2262 次点击
    这是一个创建于 2889 天前的主题,其中的信息可能已经有所发展或是发生改变。

    我的系统是 debian,一直以来都可以用 root 和一个普通用户名登陆。 今天发现普通用户名无法登陆了,请问如何解决?

    codercoo
        1
    codercoo  
    OP
       2016-06-21 17:46:19 +08:00
    只能 root 用户登陆,任何普通用户都不可以登陆图形界面,命令行界面。
    adrianzhang
        2
    adrianzhang  
       2016-06-21 19:20:21 +08:00
    grep 用户名 /etc/shadows ,看最后一列是不是 nologin
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   887 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 22:15 · PVG 06:15 · LAX 15:15 · JFK 18:15
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.