[PHP] posix_getpwnam

2001-08-13 Thread Tom Kubi
Hi, I`m using function posix_getpwnam. Its works correctly. But The result for param passwd is only "x". I know why is it. Because i have save unix users passwords in shadow file,not in passwd file, there is only "x". Is there some function,which param is encrypted(MD5) password in PHP? I

Re: [PHP] posix_getpwnam

2001-08-13 Thread Daniel Rezny
Hello Tom, Monday, August 13, 2001, 10:23:16 AM, you wrote: TK Hi, TK I`m using function posix_getpwnam. Its works correctly. But The result for TK param passwd is only "x". I know why is it. Because i have save unix users TK passwords in shadow file,not in passwd file, there is only "x". TK

[PHP] posix_getpwnam()

2001-07-02 Thread Yamin Prabudy
Hi there. i have a script like this #!/usr/local/bin/php ? $username=blah; $password=nblah; $foo=posix_getpwnam($username); echo $foo[name]; echo $foo[passwd]; ? Problem when run SETUID if i run as root it's ok but if i run as diffrent user it's won't run ok i know it's a problem on the