Henry Ortega <[EMAIL PROTECTED]> writes: > Is there a way to pass the password as a parameter > to /bin/login?
AFAIK, that can't be, since that defeats the purpose of login, which is to validate the user's identity by having the username and password typed in by the user. See login(1). > Or is there any other command I can use to verify > if a certain username/password pair is valid? > > I am writing a PHP front end and I would love for it > to authenticate using the system username/passwords > and was thinking of just doing a popen() to a command > or shell script with very limited privleges. There's PAM to do that, I think... -- ZAK B. ELEP <[EMAIL PROTECTED]> -- <http://zakame.spunge.org> 1024D/FA53851D 1486 7957 454D E529 E4F1 F75E 5787 B1FD FA53 851D -- Running Debian GNU+Linux testing/unstable. GnuPG signed mail preferred.
pgpli3k853Dxq.pgp
Description: PGP signature
-- Philippine Linux Users' Group (PLUG) Mailing List [email protected] (#PLUG @ irc.free.net.ph) Official Website: http://plug.linux.org.ph Searchable Archives: http://marc.free.net.ph . To leave, go to http://lists.q-linux.com/mailman/listinfo/plug . Are you a Linux newbie? To join the newbie list, go to http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie
