Hallo,
nachdem ich heute mein obligatorisches eix-sync, emerge -DuavN world mit anschließenden env-update gemachte habe, bin ich aussgeperrt. Ich habe leider genau darauf geachtet was geupdatet wurde. Hatte was mit pam zu tun...
Naja, ich kann mich mit keinem User mehr anmelden. Es kommt immer Login invalid.
ich boote von Stick und chroote dann in mein System. Aber wenn ich z.B. passwd oder so ausführe. Bekomme ich immer Permission denied. Useradd geht auch nicht.
Bei useradd kommt der Fehler "PAM authentication failed"
Habe auch schon revdep-rebuild ausgeführt. War aber alles o.k.
In var/log/messages steht
|
Quellcode
|
1
2
3
|
PAM (login) illegal module type:--
PAM pam_parse: expecting retun value [../etc/pam.d/system-auth]
FAILED LOGIN(1) on tty1 FOR root , Permission denied
|
Habe die system-auth, welche durch env-update geupdatet verändert wurden ist, auch wieder in den Orginalzustand versetzt. Sieht nun so aus
|
Quellcode
|
1
2
3
4
5
6
7
8
9
10
11
|
auth required pam_env.so
auth required pam_unix.so try_first_pass likeauth nullok
account required pam_unix.so
password required pam_cracklib.so difok=2 minlen=8 dcredit=2 ocre$
password required pam_unix.so try_first_pass use_authtok nullok s$
session required pam_limits.so
session required pam_env.so
session required pam_unix.so
session optional pam_permit.so
|
und nsswitch
|
Quellcode
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
passwd: compat
shadow: compat
group: compat
# passwd: db files nis
# shadow: db files nis
# group: db files nis
hosts: files dns
networks: files dns
services: db files
protocols: db files
rpc: db files
ethers: db files
netmasks: files
netgroup: files
bootparams: files
automount: files
aliases: files
|
Kann mir jemand bitte helfen, das ich wieder ins System komme.