阿里云 linux登录问题 1. ssh 登录问题2. useradd 添加不了用户 1. ssh 登录问题 如果密码正确,用户正确,vpn登录 vim /etc/ssh/sshd_config # 增加如下参数 PermitRootLogin yes :wq 然后成功 2. useradd 添加不了用户 useradd: cannot open /etc/passwd [root@DBASIMQ02 ~]# lsattr /etc/passwd ----i----------- /etc/passwd [root@DBASIMQ02 ~] chattr -i /etc/passwd 如上