Forum » Operacijski sistemi » poppassd
poppassd
bigk ::
Nameščen imam poppassd-ceti 1.8.5 rpm. Ko zelim spremeniti geslo izgelda takole:
[root@maja xinetd.d]# poppassd
200 poppassd v1.8.5 hello, who are you?
user klemen
200 Your password please.
passwd xxxxxxxxx
500 Old password is incorrect.
V log datoteki vidim tole:
Jun 6 13:50:08 maja poppassd(pam_unix)[11260]: authentication failure; logname=root uid=0 euid=0 tty= ruser= rhost= user=klemen
Jun 6 13:50:10 maja poppassd[11260]: old password is incorrect for user klemen
Kje bi lahko bila napaka?
V /etc/pam.d/poppassd je tole:
auth required pam_stack.so service=system-auth
account required pam_stack.so service=system-auth
password required pam_stack.so service=system-auth
system-auth pa vsebuje tole:
auth required /lib/security/$ISA/pam_env.so
auth sufficient /lib/security/$ISA/pam_unix.so likeauth nullok
auth required /lib/security/$ISA/pam_deny.so
#account sufficient /lib/security/$ISA/pam_succeed_if.so uid < 100
account required /lib/security/$ISA/pam_unix.so
password requisite /lib/security/$ISA/pam_cracklib.so retry=3
password sufficient /lib/security/$ISA/pam_unix.so nullok use_authtok md5 shadow
password required /lib/security/$ISA/pam_deny.so
session required /lib/security/$ISA/pam_limits.so
session required /lib/security/$ISA/pam_unix.so
[root@maja xinetd.d]# poppassd
200 poppassd v1.8.5 hello, who are you?
user klemen
200 Your password please.
passwd xxxxxxxxx
500 Old password is incorrect.
V log datoteki vidim tole:
Jun 6 13:50:08 maja poppassd(pam_unix)[11260]: authentication failure; logname=root uid=0 euid=0 tty= ruser= rhost= user=klemen
Jun 6 13:50:10 maja poppassd[11260]: old password is incorrect for user klemen
Kje bi lahko bila napaka?
V /etc/pam.d/poppassd je tole:
auth required pam_stack.so service=system-auth
account required pam_stack.so service=system-auth
password required pam_stack.so service=system-auth
system-auth pa vsebuje tole:
auth required /lib/security/$ISA/pam_env.so
auth sufficient /lib/security/$ISA/pam_unix.so likeauth nullok
auth required /lib/security/$ISA/pam_deny.so
#account sufficient /lib/security/$ISA/pam_succeed_if.so uid < 100
account required /lib/security/$ISA/pam_unix.so
password requisite /lib/security/$ISA/pam_cracklib.so retry=3
password sufficient /lib/security/$ISA/pam_unix.so nullok use_authtok md5 shadow
password required /lib/security/$ISA/pam_deny.so
session required /lib/security/$ISA/pam_limits.so
session required /lib/security/$ISA/pam_unix.so
l.p.
//bigk K
//bigk K
jype ::
Ja.
Za USER ukazom moras najprej dat PASS starogeslo, potem sele lahko reces PASSWD novogeslo, afaik.
Za USER ukazom moras najprej dat PASS starogeslo, potem sele lahko reces PASSWD novogeslo, afaik.
Vredno ogleda ...
Tema | Ogledi | Zadnje sporočilo | |
---|---|---|---|
Tema | Ogledi | Zadnje sporočilo | |
» | Debian in sftpOddelek: Operacijski sistemi | 1022 (962) | OmegaBlue |
» | sshd zaščitaOddelek: Operacijski sistemi | 967 (967) | 'FireSTORM' |
» | disable root loginOddelek: Operacijski sistemi | 1482 (1172) | 'FireSTORM' |
» | [_] Windows... PAM?Oddelek: Programiranje | 1108 (923) | 64202 |
» | Linux varnostne luknjeOddelek: Operacijski sistemi | 2456 (2209) | BigWhale |