error opening shadow group file

Jeremy Fowler jfowler at westrope.com
Fri Dec 6 22:48:29 CST 2002


Also try running grpck and pwdck to see if there are any syntax errors.

> -----Original Message-----
> From: owner-kclug at marauder.illiana.net
> [mailto:owner-kclug at marauder.illiana.net]On Behalf Of Brad Crotchett
> Sent: Friday, December 06, 2002 4:27 PM
> To: kclug at kclug.org
> Subject: [Fwd: RE: error opening shadow group file]
>
>
> The contents of /etc/pam.d/system-auth are as follows:
>
> #%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
>
> The contents of other are:
>
> #%PAM-1.0
> auth     required       /lib/security/pam_deny.so
> account  required       /lib/security/pam_deny.so
> password required       /lib/security/pam_deny.so
> session  required       /lib/security/pam_deny.so
>
>
> Does this help?
>
> Thanks,
>
> Brad
>
>
> >
> > Verify that PAM is installed and configured correctly. If you use a package
> > manager, use it's file verify utility to see if any files have changed from
> > install. Make sure /etc/pam.d/system-auth and /etc/pam.d/other are there and
> > post to the list what's in them.
> >
> > > -----Original Message-----
> > > From: owner-kclug at marauder.illiana.net
> > > [mailto:owner-kclug at marauder.illiana.net]On Behalf Of Brad Crotchett
> > > Sent: Friday, December 06, 2002 3:22 PM
> > > To: kclug at kclug.org
> > > Subject: Re: error opening shadow group file
> > >
> > >
> > > fuser does not show anyone using the files and the immutable bit is not
> > > set.  I guess I am still stuck.
> > >
> > > Thanks,
> > > Brad
> > >
> > >
> > >
> > > > Dwayne wrote:
> > > > I'd first see if another process currently has the shadow password file
> > > > open with the fuser command:
> > > >
> > > > fuser /etc/group*
> > > > fuser /etc/gshadow*
> > > > etc...
> > > >
> > > > and if fuser returns a number, you have a winner.  Also, check to see if
> > > > those files have the immutable bit set:
> > > >
> > > > lsattr /etc/group*
> > > > ...
> > > >
> > > > My system uses /etc/group- as the shadow file.
> > > >
> > > > --
> > > > Why drive a car when you can ride a bike?
> > > > http://attaway.net
> > > >
> > > >
> > > >
> > >
> > >
> > >
> > >
> >
> >
> >
>
>
>
>




More information about the Kclug mailing list