[Samba] Password Expiration

Rodrigo Schmidt Nürmberg schmidt at brturbo.com
Thu Mar 6 01:42:07 GMT 2003


This is the /etc/pam.d/system-auth. Can You send me a ie config file (how it
should be).

#%PAM-1.0
# This file is auto-generated.
# User changes will be destroyed the next time authconfig is run.
auth        required      /lib/security/pam_env.so
auth        sufficient    /lib/security/pam_unix.so likeauth nullok
auth        required      /lib/security/pam_deny.so

account     required      /lib/security/pam_unix.so

password    required      /lib/security/pam_cracklib.so retry=3 type=
password    sufficient    /lib/security/pam_unix.so nullok use_authtok md5
shadow
password    required      /lib/security/pam_deny.so

session     required      /lib/security/pam_limits.so
session     required      /lib/security/pam_unix.so

----- Original Message -----
From: "John H Terpstra" <jht at samba.org>
To: "Rodrigo Schmidt Nürmberg" <schmidt at brturbo.com>
Sent: Wednesday, March 05, 2003 10:34 PM
Subject: Re: [Samba] Password Expiration


> yOn Wed, 5 Mar 2003, [iso-8859-1] Rodrigo Schmidt Nürmberg wrote:
>
> > This is my samba pam configuration
> >
> > #%PAM-1.0
> > auth       required pam_nologin.so
> > auth       required pam_stack.so service=system-auth
> > account    required pam_stack.so service=system-auth
> > session    required pam_stack.so service=system-auth
> > password   required pam_stack.so service=system-auth
> >
> > Is this ok?
> > What more i need to put in smb.conf?
>
> So what is in /etc/pam.d/system-auth?
>
> - John T.
>
> >
> > ----- Original Message -----
> > From: "John H Terpstra" <jht at samba.org>
> > To: "Rodrigo Schmidt Nürmberg" <schmidt at brturbo.com>
> > Cc: "smb" <samba at lists.samba.org>
> > Sent: Wednesday, March 05, 2003 10:13 PM
> > Subject: Re: [Samba] Password Expiration
> >
> >
> > > On Wed, 5 Mar 2003, [iso-8859-1] Rodrigo Schmidt Nürmberg wrote:
> > >
> > > > To make a password expire on my Samba PDC I just need to edit the
> > > > "/etc/shadow" or use the comand "chage -M days_before_expire user"?
> > >
> > > If you are using PAM that may work. How is your PAM configured?
> > > ie: /etc/pam.d/samba
> > >
> > > - John T.
> > > --
> > > John H Terpstra
> > > Email: jht at samba.org
> > >
> >
>
> --
> John H Terpstra
> Email: jht at samba.org
>



More information about the samba mailing list