I just realized I jumped the gun on myself with my question
earlier. /etc/shadow isn't accessible by anyone but root. With that
said, how can I build a login page in PHP, running as the web server
daemon process, that can validate the user against the system's shadow
file? I hate to have
I hate to have to duplicate the file with different permissions
AMK just so that the process can read it when it needs to.
How about persorm a exec(su username password) grabbing the output?
Or something like that...
--
Kind regards,
Morten Winkler
--
PHP General Mailing List
2 matches
Mail list logo