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:


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
david!solar:~$ rpm -ql pam_userpass-devel

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