Re: how to check for unix password

2005-11-02 Thread Magnus Lycka
[EMAIL PROTECTED] wrote: > hi > i created a login page that authenticate the user and his/her password > to the unix ssystem. what modules can i used to compare the unix > password with what the user typed in the cgi form? the password is > encrypted (shadowed) so i need to That's not the same thi

Re: how to check for unix password

2005-11-02 Thread Fredrik Lundh
[EMAIL PROTECTED] wrote: > i created a login page that authenticate the user and his/her password > to the unix ssystem. what modules can i used to compare the unix > password with what the user typed in the cgi form? the password is > encrypted (shadowed) so i need to decrypt it first before comp

Re: how to check for unix password

2005-11-02 Thread Mike Meyer
[EMAIL PROTECTED] writes: > i created a login page that authenticate the user and his/her password > to the unix ssystem. what modules can i used to compare the unix > password with what the user typed in the cgi form? the password is > encrypted (shadowed) so i need to > decrypt it first before co

Re: how to check for unix password

2005-11-02 Thread [EMAIL PROTECTED]
complicated issue. There is lots of authentication sub system that may be in use(PAM, LDAP, Kerberos, /etc/shadow etc.). Each has a different way. If it is linux, I think you should shoot for PAM, for other unix system I have no idea. /etc/passwd is a one way hash, you need the user submit the plai

how to check for unix password

2005-11-02 Thread eight02645999
hi i created a login page that authenticate the user and his/her password to the unix ssystem. what modules can i used to compare the unix password with what the user typed in the cgi form? the password is encrypted (shadowed) so i need to decrypt it first before comparing to what the user typed. o