khzl

编程入门 行业动态 更新时间:2024-10-21 03:51:04

khzl

khzl

这可能与其他密码相关的问题重复,但它有点古怪.

我的Ubuntu 12.10系统中有3个帐户(一个标准和两个管理员).其中一个管理员帐户是我的主要开发帐户,突然在昨天之前,它开始变得怪异(因为最新的更新 – 内核和其他:

>在欢迎阶段,当我输入密码时,它会立即返回“密码不正确”.它甚至没有检查. (N.B:密码绝对正确)

>在TTY,无法登录,一旦我输入我的登录名然后输入密码,它会立即重新提示我输入登录名…感觉就像认证此帐户的路径被意外锁定或访问密封.

我使用我的第二个管理员帐户登录并更改了麻烦帐户的密码,但没有运气,将密码恢复为原始值并将帐户设置为自动登录.重新启动,然后,确实帐户登录.然而,异常仍然存在:

>我无法执行root权限操作(sudo& gksudo).输入密码后,没有任何反应.接受密码的唯一时间是屏幕被锁定并且提示我输入密码以解锁密码.

我检查了我的主文件夹的所有权,没关系.一些帮助非常感谢.

总结一下:

– 无法通过lightdm登录

– sudo,gksudo& pkexec没有成功

– su命令失败

– 如果我提供sudo命令的密码不正确,它会检查并返回“密码不正确”,但是如果我提供了正确的密码,它什么都不返回.

– 我自动登录时接受密码密钥环.

– 解锁屏幕时接受密码.

>我已经更改了密码,并检查我的用户名是否属于(sudo,admin,adm,….)等组.

* Ubuntu 12.10

统一

uname:Linux l502x 3.5.0-23-generic#35-Ubuntu SMP Thu 1月24日13:15:40 UTC 2013 x86_64 x86_64 x86_64 GNU / Linux *

——-一些日志———–

**

cat /var/log/auth.log | grep hanine

**

Feb 12 03:21:05 l502x lightdm: pam_succeed_if(lightdm:auth): requirement "user ingroup nopasswdlogin" not met by user "hanine"

Feb 12 03:21:05 l502x lightdm: pam_unix(lightdm:auth): auth could not identify password for [hanine]

Feb 12 03:21:05 l502x lightdm: pam_succeed_if(lightdm:auth): requirement "user ingroup nopasswdlogin" not met by user "hanine"

Feb 12 03:21:06 l502x lightdm: pam_succeed_if(lightdm:auth): requirement "user ingroup nopasswdlogin" not met by user "hanine"

Feb 12 03:21:38 l502x lightdm: pam_succeed_if(lightdm:auth): requirement "user ingroup nopasswdlogin" not met by user "hanine"

Feb 12 03:21:43 l502x lightdm: pam_succeed_if(lightdm:auth): requirement "user ingroup nopasswdlogin" not met by user "hanine"

Feb 12 03:23:36 l502x sudo: admin : TTY=pts/0 ; PWD=/home/hanine ; USER=root ; COMMAND=/usr/bin/passwd hanine

Feb 12 03:23:36 l502x passwd[5502]: pam_smbpass(passwd:chauthtok): Failed to find entry for user hanine.

Feb 12 03:23:52 l502x passwd[5502]: pam_unix(passwd:chauthtok): password changed for hanine

Feb 12 03:23:52 l502x passwd[5502]: pam_smbpass(passwd:chauthtok): Failed to find entry for user hanine.

Feb 12 03:24:17 l502x sudo: admin : TTY=pts/0 ; PWD=/home/hanine ; USER=root ; COMMAND=/usr/bin/passwd hanine

Feb 12 03:24:17 l502x passwd[5520]: pam_smbpass(passwd:chauthtok): Failed to find entry for user hanine.

Feb 12 03:24:24 l502x passwd[5520]: pam_unix(passwd:chauthtok): password changed for hanine

Feb 12 03:24:24 l502x passwd[5520]: pam_smbpass(passwd:chauthtok): Failed to find entry for user hanine.

Feb 12 03:27:51 l502x sudo: admin : TTY=pts/0 ; PWD=/home/hanine ; USER=root ; COMMAND=/bin/rm .xsession-errors

Feb 12 03:28:42 l502x sudo: admin : TTY=pts/0 ; PWD=/home/hanine ; USER=root ; COMMAND=/bin/rm .Xauthority

Feb 12 03:29:22 l502x sudo: admin : TTY=pts/0 ; PWD=/home/hanine ; USER=root ; COMMAND=/bin/mkdir .xsession-errors-old-files

Feb 12 03:29:36 l502x sudo: admin : TTY=pts/0 ; PWD=/home/hanine ; USER=root ; COMMAND=/bin/mv .xsession-errors.old .xsession-errors_OLD1 .xsession-errors-old-files .xsession-errors-old-files/

Feb 12 03:34:15 l502x sudo: admin : TTY=pts/2 ; PWD=/home/hanine ; USER=root ; COMMAND=/usr/bin/sakis3g connect

Feb 12 14:10:08 l502x lightdm: pam_succeed_if(lightdm:auth): requirement "user ingroup nopasswdlogin" not met by user "hanine"

Feb 12 14:10:15 l502x lightdm: pam_succeed_if(lightdm:auth): requirement "user ingroup nopasswdlogin" not met by user "hanine"

Feb 12 14:13:23 l502x accounts-daemon: request by system-bus-name::1.66 [gnome-control-center user-accounts pid:3028 uid:1001]: enable automatic login for user 'hanine' (1000)

Feb 12 14:16:54 l502x lightdm: pam_succeed_if(lightdm:auth): requirement "user ingroup nopasswdlogin" not met by user "hanine"

Feb 12 14:16:54 l502x lightdm: pam_unix(lightdm:auth): auth could not identify password for [hanine]

Feb 12 14:16:55 l502x lightdm: pam_succeed_if(lightdm:auth): requirement "user ingroup nopasswdlogin" not met by user "hanine"

Feb 12 14:16:55 l502x lightdm: pam_succeed_if(lightdm:auth): requirement "user ingroup nopasswdlogin" not met by user "hanine"

Feb 12 14:16:57 l502x lightdm: pam_unix(lightdm:auth): authentication failure; logname= uid=0 euid=0 tty=:1 ruser= rhost= user=hanine

Feb 12 14:16:59 l502x lightdm: pam_succeed_if(lightdm:auth): requirement "user ingroup nopasswdlogin" not met by user "hanine"

Feb 12 14:17:43 l502x lightdm: pam_succeed_if(lightdm:auth): requirement "user ingroup nopasswdlogin" not met by user "hanine"

Feb 12 14:18:00 l502x lightdm: pam_unix(lightdm:auth): authentication failure; logname= uid=0 euid=0 tty=:0 ruser= rhost= user=hanine

Feb 12 14:18:02 l502x lightdm: pam_succeed_if(lightdm:auth): requirement "user ingroup nopasswdlogin" not met by user "hanine"

Feb 12 14:18:06 l502x lightdm: pam_succeed_if(lightdm:auth): requirement "user ingroup nopasswdlogin" not met by user "hanine"

Feb 12 14:18:14 l502x lightdm: pam_succeed_if(lightdm:auth): requirement "user ingroup nopasswdlogin" not met by user "hanine"

Feb 12 14:18:17 l502x lightdm: pam_succeed_if(lightdm:auth): requirement "user ingroup nopasswdlogin" not met by user "hanine"

Feb 12 14:19:05 l502x lightdm: pam_unix(lightdm-autologin:session): session opened for user hanine by (uid=0)

Feb 12 14:20:04 l502x gnome-keyring-daemon[2173]: keyring alias directory: /home/hanine/.local/share/keyrings

Feb 12 14:50:18 l502x gnome-screensaver-dialog: pam_unix(gnome-screensaver:auth): authentication failure; logname= uid=1000 euid=1000 tty=:0.0 ruser= rhost= user=

更多推荐

khzl

本文发布于:2024-02-26 08:59:56,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1701951.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:khzl

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!