Thursday, May 2, 2024
 Popular · Latest · Hot · Upcoming
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 4307  / 1 Year ago, sat, march 11, 2023, 7:45:43

I have accidently removed the files /etc/pam.conf and /etc/security/pam_env.confusing rm. Now I get this error message when I try to use sudo:



sudo: unable to initialize PAM: No such file or directory


How can I fix that?


More From » sudo

 Answers
3

I just copied the files '/etc/pam.conf' and '/etc/security/pam_env.conf' and the folder 'pam.d' from the Ubuntu Installation Disk.


[#28351] Sunday, March 12, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
nquirewha

Total Points: 256
Total Questions: 109
Total Answers: 122

Location: Namibia
Member since Mon, Feb 21, 2022
2 Years ago
;