hi everyone,
Seems many people using database to store user name and password for login purpose. I am wondering if I can use the database that linux already have (/etc/passwd) to do the authenication instead creating a database just for storing user name and password ? anyone know how to do it in PHP ?
that mean if someone try to login in html form, all we need is compare the uid and pwd with the linux host account list instead of running a sql statement.
Thank you
Seems many people using database to store user name and password for login purpose. I am wondering if I can use the database that linux already have (/etc/passwd) to do the authenication instead creating a database just for storing user name and password ? anyone know how to do it in PHP ?
that mean if someone try to login in html form, all we need is compare the uid and pwd with the linux host account list instead of running a sql statement.
Thank you