Hi,
I hope you are using apache. If so, can easily let apache do the authentication, just set the following in your access.conf : <Directory /user/web/apache/cgi-bin/mydir> AuthName "RESTRICTED ACCESS" AuthType Basic require group htuser and others AuthUserFile /user/web/apache-1.3.20/Security/myapp/users AuthGroupFile /user/web/apache-1.3.20/Security/myapp/groups </Directory> You can easily read the username using : $username = ($ENV{'REMOTE_USER'}); Hope this is of any help. Regs David > > > > > > Hi, again > I am looking for help to validate a linux user. > I mean, the user, writes username and password and the script returns true or > false if login is correct or incorrect. > > Please help me > > Thanks a lot. > > Bye. > > > > > > > > > > > > ------------------------------------------------- > This mail sent through IMP: http://horde.org/imp/ > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]