I already have the one account in postgres to use the DB. I just need the authentication part. Sure, I can use table based authentication, but if I have 100 users and those 100 users already have an email account on this server, I might as well have them use those system account credentials to authenticate. Saves me time to create another 100 username/passwords for these people and makes it easier for them to remember only one password. I'm thinking, maybe as unprivileged user, you can always do a popen or write a different shell script to *query* the system if the user/password pair is legit. Maybe /bin/login would do, but I'm stuck since it doesn't take the password in the command line... Still playing around.. any help is welcome... On Thu, 17 Feb 2005 12:00:57 -0500, Bastien Koert <bastien_k@xxxxxxxxxxx> wrote: > why not create one account to use the db and use table based authentication? > Same for email? > > bastien > > >From: Henry Ortega <juandelacruz@xxxxxxxxx> > >Reply-To: Henry Ortega <juandelacruz@xxxxxxxxx> > >To: php-db@xxxxxxxxxxxxx > >Subject: authenticating using system user list > >Date: Thu, 17 Feb 2005 11:54:17 -0500 > > > >I have a database program using postgres and having > >a PHP front end. It requires people to login to gain access. > >Everyone who needs to login to that database program has > >a system user account in that machine. (since it's also the > >email server) > > > >What is the best way to authenticate using > >the system users/passwd? (/etc/shadow ?) I hate to create a a new set > >of username/password in postgres for each person just > >to be able to login to this program. And it would really > >help a lot because they don't have to remember two > >passwords. > > > >Any help will be appreciated. Thanks > > > >-- > >PHP Database Mailing List (http://www.php.net/) > >To unsubscribe, visit: http://www.php.net/unsub.php > > > > -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php