[98476] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: Setting passwords to expired status

daemon@ATHENA.MIT.EDU (Toby Herring)
Mon Nov 9 09:33:22 1998

Reply-To: "Toby Herring" <therring@syncroflo.com>
From: "Toby Herring" <therring@syncroflo.com>
To: <redhat-list@redhat.com>
Date: Mon, 9 Nov 1998 09:29:43 -0500
Resent-From: redhat-list@redhat.com

Yes, expiration is a shadow-only function.  Check out the online docs at
/usr/doc/HOWTO/Shadow-Password-HOWTO.

Note, however, that it is quite probable that you already have the "Shadow
Suite" installed, so you should try enabling shadows before you go through
the trouble of finding all the source code and compiling, like the HOWTO
says.

Expiration information is stored in the /etc/shadow file, once you enable
shadow passwords.

In short, run pwconv to convert from standard passwords to shadow passwords.
Then you will need to set all of the expirations, etc, for your users.
(BTW, once shadow passwords are enabled, you will see a new "tab" in
userconf gui that allows you to set the expiration, lockout, etc information
without having to manually edit the file(s).)
--
Toby (aka Calin)
Calin's Place Inn
http://www.calin.com/


-----Original Message-----
From: Fred Whipple <fwwhippl@mindless.com>
To: redhat-list@redhat.com <redhat-list@redhat.com>
Date: Monday, November 09, 1998 9:24 AM
Subject: Re: Setting passwords to expired status


>All,
>
>What exactly does the 'usermod' command change to keep track of account
>expirations, etc.?  As in, does it add something to a particular file?
>I can't think of a good place to search for more info as the man page is
>rather brief.
>
>Is this a shadow password only utility?  And... how does one use shadow
>passwords anyway? :-)  Is there a redhat-list FAQ full of answers to
>questions that I know I've seen fly by in the past couple years but
>didn't save? =)
>
>Thanks for any info.
>
> -Fred
>
>dreamwvr wrote:
>>
>> hi Toby,
>>        ! certain if this is what your looking for but do a :
>> $man usermod
>> this is to manually modify a user acct. hope it helps!
>>                                                         Regards,
>>
dreamwvr@dreamwvr.com
>> At 01:03 PM 11/7/98 -0500, Toby Herring wrote:
>> >Does anyone know of a way that I can manually set an individual user's
>> >password as expired, so that the next time they log in, they will
>> >immediately have to change it?
>> >
>> >I have, in the past, accidentally caused this to happen, but I can't
seem to
>> >reproduce the effect.  (The way I managed it did NOT involve manually
>> >editing the etc/passwd file, although I have no problem with doing a
manual
>> >edit, if someone can explain to me what to put where.)
>
>
>--
>  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
> http://www.redhat.com http://archive.redhat.com
>         To unsubscribe: mail redhat-list-request@redhat.com with
>                       "unsubscribe" as the Subject.
>


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
		http://www.redhat.com http://archive.redhat.com
         To unsubscribe: mail redhat-list-request@redhat.com with 
                       "unsubscribe" as the Subject.


home help back first fref pref prev next nref lref last post