Hello,
I wanted to know your opinion on the following.
I have written a web interface for my clients and would like them to log into it using their cpanel username & password.
Since the /etc/shadow is only readable by root and my perl authentication script is run as 'tomcat' or 'nobody', I decided to authenticate them using the MySQL 'user' table. This seems to be working fine and I cannot see any drawback.
What is your opinion on authenticating my users in such a way? Is there a better way of doing what I am trying to accomplish here?
Thanks.
Lamp
I wanted to know your opinion on the following.
I have written a web interface for my clients and would like them to log into it using their cpanel username & password.
Since the /etc/shadow is only readable by root and my perl authentication script is run as 'tomcat' or 'nobody', I decided to authenticate them using the MySQL 'user' table. This seems to be working fine and I cannot see any drawback.
What is your opinion on authenticating my users in such a way? Is there a better way of doing what I am trying to accomplish here?
Thanks.
Lamp