I keep hearing about using PAM authentication. I have seen the
/etc/pam.d directory and a couple for configuration files. I have read
a couple of documents about pam but still don't understand its
function. I have a couple of questions which may be elementary for some
of you there:
How one knows if his system is using PAM authentication? Does each
rehad command check the /etc/pam.d directory to find out if there is a
config file associated with it?
Does a user's password in the /etc/passwd or /etc/shadow get encrypted
differently with the passwd command when one is using PAM than when he
is not using PAM.
My final question is, where on earth is the man page of passwd (1) and
other missing man pages in RH4.2? Many man pages refer to other
commands which cannot be found by the man utility. I checked all of the
possible man directories and can't find them.
Cheers.
Bench wrote:
> Try using Expect. I use version 5.18 because of some problems
> I experience with the new versions of it (5.24 and the version
> included
> with Redhat 5) and use Tcl 7.4 for this old version of Expect.
>
> Look at the example file 'autopasswd' and start from there.
> If you're using PAM authentication, you might want to comment out
> this lines:
>
> password required /lib/security/pam_cracklib.so retry=3
> password required /lib/security/pam_pwdb.so use_authtok nullok
>
> as this checks if your password is good.
>
> _
> benchdelosangelesjr.
>
> On Sat, 4 Apr 1998 [EMAIL PROTECTED] wrote:
>
> > I am tring to write a perl script that will add a user and set up
> their
> > password. I have no problem adding the user, using a system call to
> the
> > useradd command. I am tring to set the password like this:
> >
> > open(PASSWD, "| passwd " . $username);
> > print PASSWD $password . "\n";
> > print PASSWD $password . "\n";
> > close(PASSWD);
> >
> > and is not working. it gives me a conversation error. Has anyone
> > had success doing this? or know what else I need to put in there? I
> have
> > done the same type thing with other commands, like htpasswd, and
> they
> > worked fine.
> >
> > Thanks,
> > Bryan Opfer
> >
> >
>
> --
> PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST
> ARCHIVES!
> http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips
> /mailing-lists
> To unsubscribe: mail [EMAIL PROTECTED] with
> "unsubscribe" as the Subject.
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject.