OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: Authentification without entering the password in cmdline prompt?

From: Solar Designer (solaropenwall.com)
Date: Fri Jun 06 2003 - 15:31:06 CDT


On Fri, Jun 06, 2003 at 10:32:37AM +0200, sneaking-wolfgmx.de wrote:
> I'm searching for a way to use the pam_unix.so module for auth. out of a
> program without entering the password manually in the commandline prompt. Is
> there a way to call the pam functions with the password as parameter or
> something like that?

pam_userpass / libpam_userpass are meant to do that. You can get the
package at:

        http://www.openwall.com/pam/

RPMs may be built with "rpm -tb" (some systems might require minor
tweaking of the spec file or --nodeps to ignore the dependency on
"pam-devel" if the Linux-PAM package isn't split into subpackages).

david!solar:~$ rpm -ql pam_userpass
/lib/security/pam_userpass.so
/usr/doc/pam_userpass-0.9
/usr/doc/pam_userpass-0.9/LICENSE
/usr/doc/pam_userpass-0.9/README
/usr/lib/libpam_userpass.so.0.9
/usr/lib/libpam_userpass.so.1
david!solar:~$ rpm -ql pam_userpass-devel
/usr/include/security/pam_userpass.h
/usr/lib/libpam_userpass.a
/usr/lib/libpam_userpass.so

--
Alexander Peslyak <solaropenwall.com>
GPG key ID: B35D3598 fp: 6429 0D7E F130 C13E C929 6447 73C3 A290 B35D 3598
http://www.openwall.com - bringing security into open computing environments

_______________________________________________
Pam-list mailing list
Pam-listredhat.com
https://www.redhat.com/mailman/listinfo/pam-list