[Boot/Shutdown] 【急,很急,非常急】tty登录没有密码输入选项
Tofloor
poster avatar
dinggenfeng
deepin
2022-11-04 17:36
Author

【系统环境】

镜像版本:20.7.1
CPU:Intel(R) Core(TM) i7-9700 CPU @ 3.00GHz 3.00 GHz
GPU:Intel(R) UHD Graphics 630

【操作步骤】
从源码编译git, 修改了 /etc/profile。

【问题现象】

图片上传报错。
图片在评论区
文字描述:

  1. WARNING: Unprivileged eBPF is enabled with eIBRS on, data leaks possible via Spectre v2 BHB attacks!
  2. tty登录没有密码输入选项
Reply Favorite View the author
All Replies
1 / 2
To page
dinggenfeng
deepin
2022-11-04 17:37
#1

微信图片_20221104093017.jpg

微信图片_20221104092952.jpg

Reply View the author
jjcui8595
deepin
2022-11-04 17:59
#2

先输入用户名,再根据提示输入密码(密码不会回显到屏幕上,输完直接回车)

Reply View the author
dinggenfeng
deepin
2022-11-04 18:05
#3
jjcui8595

先输入用户名,再根据提示输入密码(密码不会回显到屏幕上,输完直接回车)

感谢回复!
问题是,输入用户名之后, 直接报登录失败了,没有让输入密码

Reply View the author
神末shenmo
deepin
Spark-App
Q&A Team
2022-11-04 18:06
#4

PAM挂了?

字体是啥,好看

Reply View the author
dinggenfeng
deepin
2022-11-04 18:08
#5
神末shenmo

PAM挂了?

字体是啥,好看

😂 不知道啥挂了,我就从源码编译了最新的git, 改了 /etc/profile,就起不来了

Reply View the author
jjcui8595
deepin
2022-11-04 18:12
#6
dinggenfeng

😂 不知道啥挂了,我就从源码编译了最新的git, 改了 /etc/profile,就起不来了

liveCD挂载后改回去试试

Reply View the author
dinggenfeng
deepin
2022-11-04 18:18
#7
jjcui8595

liveCD挂载后改回去试试

感觉问题在这个警告: 1. unprivileged ebpf is enabled with eibrs on

想tty登录进去也是想进去改写配置,修复掉这个警告的。不然进不去桌面也是白玩😢

Reply View the author
dinggenfeng
deepin
2022-11-04 19:09
#8

我是用的win11和deepin双系统。

  1. 重启失败之前编译了git源码, 修改了 /etc/profile 参考了这篇文章
  2. 重启遇到 WARNING: Unprivileged eBPF is enabled with eIBRS on, data leaks possible via Spectre v2 BHB attacks!, 进不去桌面
  3. 尝试通过tty登录, 发现 tty 输入用户名之后直接报 Login Incorrect 没有输入密码的选项.
  4. 登录win11, 找到 Deepin 系统盘, 修改 /etc/profile 取消之前的修改, 重启错误依然存在
  5. 按照 这篇文章 的描述, 尝试过修改 /etc/sysctl.conf/ 添加 kernel.unprivileged_bpf_disabled 项, 值为 1, 2, 3, 重启之后问题依然存在
  6. 问题依然存在
Reply View the author
zhoucj
deepin
2022-11-04 19:42
#9

我也遇到过,我选择重装了sad

Reply View the author
dinggenfeng
deepin
2022-11-04 20:07
#10
神末shenmo

PAM挂了?

字体是啥,好看

Hello, 请教下,这个日志是不是确实就说明 PAM挂了?

2022-11-04 11:54:52 hw-dinggf systemd-logind[4121]:  New seat seat0.
2022-11-04 11:54:52 hw-dinggf systemd-logind[4121]:  Watching system buttons on /dev/input/event2 (Power Button)
2022-11-04 11:54:52 hw-dinggf systemd-logind[4121]:  Watching system buttons on /dev/input/event1 (Power Button)
2022-11-04 11:54:52 hw-dinggf systemd-logind[4121]:  Watching system buttons on /dev/input/event0 (Sleep Button)
2022-11-04 11:54:52 hw-dinggf systemd-logind[4121]:  Watching system buttons on /dev/input/event5 (Hoksi Technology DURGOD Taurus K310)
2022-11-04 11:54:52 hw-dinggf systemd-logind[4121]:  Watching system buttons on /dev/input/event6 (Hoksi Technology DURGOD Taurus K310 System Control)
2022-11-04 11:54:52 hw-dinggf systemd-logind[4121]:  Watching system buttons on /dev/input/event7 (Hoksi Technology DURGOD Taurus K310 Consumer Control)
2022-11-04 11:54:52 hw-dinggf systemd-logind[4121]:  Watching system buttons on /dev/input/event8 (Hoksi Technology DURGOD Taurus K310 Keyboard)
2022-11-04 11:54:53 hw-dinggf lightdm:  PAM unable to dlopen(pam_deepin_authentication.so): /lib/security/pam_deepin_authentication.so: 无法打开共享对象文件: 没有那个文件或目录
2022-11-04 11:54:53 hw-dinggf lightdm:  PAM adding faulty module: pam_deepin_authentication.so
2022-11-04 11:54:53 hw-dinggf lightdm:  pam_unix(lightdm-greeter:session): session opened for user lightdm by (uid=0)
2022-11-04 11:54:53 hw-dinggf systemd-logind[4121]:  New session c1 of user lightdm.
2022-11-04 11:54:53 hw-dinggf systemd:  PAM unable to dlopen(pam_deepin_authentication.so): /lib/security/pam_deepin_authentication.so: cannot open shared object file: No such file or directory
2022-11-04 11:54:53 hw-dinggf systemd:  PAM adding faulty module: pam_deepin_authentication.so
2022-11-04 11:54:53 hw-dinggf systemd:  pam_unix(systemd-user:session): session opened for user lightdm by (uid=0)
2022-11-04 11:54:57 hw-dinggf deepin-authentication:  PAM unable to dlopen(pam_deepin_authentication.so): /lib/security/pam_deepin_authentication.so: cannot open shared object file: No such file or directory
2022-11-04 11:54:57 hw-dinggf deepin-authentication:  PAM adding faulty module: pam_deepin_authentication.so
2022-11-04 11:54:57 hw-dinggf lightdm:  PAM unable to dlopen(pam_deepin_authentication.so): /lib/security/pam_deepin_authentication.so: 无法打开共享对象文件: 没有那个文件或目录
2022-11-04 11:54:57 hw-dinggf lightdm:  PAM adding faulty module: pam_deepin_authentication.so

Reply View the author
dinggenfeng
deepin
2022-11-04 20:08
#11
zhoucj

我也遇到过,我选择重装了sad

再看看,不行就重装了,就是有点尴尬,最近在给同事推荐Deepin, hhhhhhh

Reply View the author
dinggenfeng
deepin
2022-11-04 20:44
#12

/lib/security/ 下确实没有 pam_deepin_authentication.so 只有下面两个文件

image.png

Reply View the author
dinggenfeng
deepin
2022-11-04 22:31
#13

根据论坛上 这篇文章 提供的 pam_deepin_authentication.so , 复制到 /lib/security/,重启,tty页面就可以输入用户名和密码登录了。

但是 WARNING: Unprivileged eBPF is enabled with eIBRS on, data leaks possible via Spectre v2 BHB attacks! 问题仍然存在, 桌面依然进不去

Reply View the author
dinggenfeng
deepin
2022-11-04 22:52
#14

发现启动日志有些异常, 不知道有没有关系,继续查吧

unable to read rdb block 8

微信图片_20221104145058.jpg

Reply View the author
dinggenfeng
deepin
2022-11-04 22:57
#15

根据 这个说明, 好像是没有影响

Reply View the author
ThinKinG
deepin testing team
2022-11-04 23:28
#16

亲!

之后改动文件的话,先备份一个呗!

Reply View the author
dinggenfeng
deepin
2022-11-05 00:08
#17
ThinKinG

亲!

之后改动文件的话,先备份一个呗!

排查到现在,感觉不是配置文件的问题了。因为修改的配置文件都是在原有的基础上新增配置,没有覆盖。该恢复的都恢复了,结合我在重启前的操作,应该是修改了 source.list 并且执行 sudo apt update 之类的操作,对系统造成了不可逆的影响。

但是,我查看了 /var/log下面的一些日志,并没有发现什么特殊日志。请问有建议我需要着重查看的日志文件吗?
毕竟,异常难以避免,但是起码应该有异常日志的才对

tail

Reply View the author
ThinKinG
deepin testing team
2022-11-05 00:18
#18
dinggenfeng

排查到现在,感觉不是配置文件的问题了。因为修改的配置文件都是在原有的基础上新增配置,没有覆盖。该恢复的都恢复了,结合我在重启前的操作,应该是修改了 source.list 并且执行 sudo apt update 之类的操作,对系统造成了不可逆的影响。

但是,我查看了 /var/log下面的一些日志,并没有发现什么特殊日志。请问有建议我需要着重查看的日志文件吗?
毕竟,异常难以避免,但是起码应该有异常日志的才对

tail

更新过程中就算删除某些包,也只是一些依赖或无用的包。这种是没有异常记录的。

Reply View the author
dinggenfeng
deepin
2022-11-05 00:31
#19
ThinKinG

更新过程中就算删除某些包,也只是一些依赖或无用的包。这种是没有异常记录的。

感谢回复!

这个可以理解,就算有这种日志也不一定能发现。
是现在我无法进入桌面,应该是有原因的,不管根本原因是什么,直接原因应该能从日志里查到的吧?

Reply View the author
ThinKinG
deepin testing team
2022-11-05 01:03
#20

理论上是需要的,只是有些客观情况也不排除。有点尴尬

Reply View the author
1 / 2
To page