troubles with pam_pgsql (Conversation Error)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

	After creating the base, setting up
the /etc/pam.d/passwd file... I am unable to
get pam_pgsql run correctly. 

	can you help me ?

Olivier Kaloudoff
kalou@kalou.net



[root@ge root]# telnet localhost
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.

Linux Mandrake release 7.0 (Beark)
Kernel 2.2.16-3 on an i586
login: test
Password: <toto>
Login incorrect

login: 
Connection closed by foreign host.

[root@ge root]# cat /etc/pam.d/passwd
#%PAM-1.0
auth:   sufficient      /lib/security/pam_pgsql.so
auth       required     /lib/security/pam_pwdb.so shadow nullok debug
account    required     /lib/security/pam_pwdb.so debug
password   required     /lib/security/pam_cracklib.so retry=3 debug
password   required     /lib/security/pam_pwdb.so use_authtok nullok debug


[root@ge root]$ tail -2 /var/log/messages 

Dec 15 05:23:07 ge login[16986]: FAILED LOGIN 1 FROM localhost FOR test,
User not known to the underlying authentication module
Dec 15 05:23:07 ge login[16986]: FAILED LOGIN SESSION FROM localhost FOR
(null), Conversation error

[root@ge root]# su - nobody

[nobody@ge /]$ psql passwd -c "select * from passwd"
username|password     |uid|gid|info|home|shell    
--------+-------------+---+---+----+----+---------
test    |5VSUwEOAwEs16|517|517|    |/tmp|/bin/bash
(1 row)

[root@ge root]# echo test:5VSUwEOAwEs16:517:517::/tmp:/bin/bash >>
/etc/passwd

[root@ge root]# telnet localhost
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.

Linux Mandrake release 7.0 (Air)
Kernel 2.2.16-3 on an i586
login: test
Password: <toto>

[test@ge /tmp]$ 











[Index of Archives]     [Fedora Users]     [Kernel]     [Red Hat Install]     [Linux for the blind]     [Gimp]

  Powered by Linux