RT!
不论是 useradd,还是 gnome settings 的 user建立,登陆都出现 Login incorrect 错误!
换言之,就是现在系统只能使用 root 登陆,使用
求教,如何解决?
离线
PAM 配置有问题?
离线
尝试删除/etc/pam.d目录,然后重装pam包,新账户能登陆系统了,但是新的问题是,它只有登陆权限,其他权限全没了,即便账户加入了相关组也是这样!
离线
>>> pacman -Qo /etc/pam.d
/etc/pam.d 属于 cronie 1.4.9-5
/etc/pam.d 属于 cups 1.6.3-1
/etc/pam.d 属于 gnome-screensaver 3.6.1-4
/etc/pam.d 属于 openssh 6.2p2-1
/etc/pam.d 属于 pambase 20130113-1
/etc/pam.d 属于 polkit 0.111-1
/etc/pam.d 属于 postgresql 9.2.4-2
/etc/pam.d 属于 samba 4.0.7-3
/etc/pam.d 属于 shadow 4.1.5.1-6
/etc/pam.d 属于 slim 1.3.5-3
/etc/pam.d 属于 slimlock 0.11-6
/etc/pam.d 属于 sudo 1.8.7-1
/etc/pam.d 属于 util-linux 2.23.1-2
离线
貌似跟util-linux这个包有关系,确定为/etc/pam.d/login这个文件,处理掉就好了!
贴下:/etc/pam.d/login:
#%PAM-1.0
auth required pam_securetty.so
auth requisite pam_nologin.so
auth include system-local-login
account include system-local-login
session include system-local-login
仙子美女,给解决下撒!我以身相许都行...
最近编辑记录 uucp7z (2013-07-25 13:24:56)
离线
貌似跟util-linux这个包有关系,确定为/etc/pam.d/login这个文件,处理掉就好了!
贴下:/etc/pam.d/login:
#%PAM-1.0auth required pam_securetty.so
auth requisite pam_nologin.so
auth include system-local-login
account include system-local-login
session include system-local-login.
system-local-login 贴出来。
仙子美女,给解决下撒!我以身相许都行...
踹走~
离线
#%PAM-1.0
auth include system-login
account include system-login
password include system-login
session include system-login
离线
uucp7z 说:仙子美女,给解决下撒!我以身相许都行...
踹走~
我们都是好孩子,不能踹,打打骂骂的倒是可以……
离线
#%PAM-1.0
auth include system-login
account include system-login
password include system-login
session include system-login
再贴 system-login。See the pattern?
离线
file: system-login
----------------------------------------------------------------------------------------
#%PAM-1.0
auth required pam_tally.so onerr=succeed file=/var/log/faillog
auth required pam_shells.so
auth requisite pam_nologin.so
auth include system-auth
account required pam_access.so
account required pam_nologin.so
account include system-auth
password include system-auth
session optional pam_loginuid.so
session required pam_env.so
session include system-auth
session optional pam_motd.so motd=/etc/motd
session optional pam_mail.so dir=/var/spool/mail standard quiet
-session optional pam_systemd.so
离线
file: system-login
----------------------------------------------------------------------------------------
#%PAM-1.0auth required pam_tally.so onerr=succeed file=/var/log/faillog
auth required pam_shells.so
auth requisite pam_nologin.so
auth include system-authaccount required pam_access.so
account required pam_nologin.so
account include system-authpassword include system-auth
session optional pam_loginuid.so
session required pam_env.so
session include system-auth
session optional pam_motd.so motd=/etc/motd
session optional pam_mail.so dir=/var/spool/mail standard quiet
-session optional pam_systemd.so
看不出来问题呀……看看 auth.log 之类的?
离线
useradd -m -g users -G wheel,disk,floppy,lp,scanner,ftp,mail,http,locate,storage,optical,video,audio,games,network,networkmanager -d /home/Xiaobo.Liu -s /bin/zsh -c "Xiaobo Liu" -p ace1012 liu
上面的命令错哪了?
离线
仙子美女
应该叫,仙·子·姐·姐!
离线
useradd -m -g users -G wheel,disk,floppy,lp,scanner,ftp,mail,http,locate,storage,optical,video,audio,games,network,networkmanager -d /home/Xiaobo.Liu -s /bin/zsh -c "Xiaobo Liu" -p ace1012 liu
上面的命令错哪了?
-p 的参数是加密了的密码。
离线
应该叫,仙·子·姐·姐!
你妹啊!仙子比我小,好不!
离线