User Account Expired

Brian Densmore DensmoreB at ctbsonline.com
Mon Nov 19 22:15:18 CST 2001


I'm not sure what's going on with the adduser. I'd check out the manpage
on it. There may be some configuration file doing that. I seem to recall
something about defaults for account creation. You might try looking for
the adduser script, maybe something in there.

Anyone know why all of sudden any account created is pre-expired?

> -----Original Message-----
> From: jose sanchez [mailto:j_r_sanchez at yahoo.com]
> Sent: Monday, November 19, 2001 3:47 PM
> To: Brian Densmore
> Subject: RE: User Account Expired
> 
> 
> Brian:
> 
> usermod -e <date> <user> worked!
> But, I have noticed that every user I now create gets
> the expiration date that already passed. Is this a
> bug? 
> 
> Well, I want to thank you so much for helping me out
> with this. I wouldn't figure this one out on my own.
> Thanks a lot.
> 
> -Jose
> 
> 
> --- Brian Densmore <DensmoreB at ctbsonline.com> wrote:
> > 
> > 
> > > -----Original Message-----
> > > From: jose sanchez [mailto:j_r_sanchez at yahoo.com]
> > > Sent: Monday, November 19, 2001 2:04 PM
> > > To: Brian Densmore
> > > Subject: RE: User Account Expired
> > > 
> > > 
> > > 
> > > Everything looks OK. When I compare the users
> > created
> > > first to the one created last everything looks
> > good.
> > > 
> > > Here's the output for the /etc/shadow file:
> > > user1:$...:11589:0:99999:7:-1:-1:134540388
> > > u2:$...:11589:0:99999:7:-1:-1:134539228
> > > u3:$...:11642:0:99999:7:-1:-1:134540364
> > these users are ok, right?
> > 
> > > u4 :$...:0:99999:7:-1:11643:134540332
> > > u5:$...:11645:0:99999:7:-1:11643:134540388
> > > u6:$...:11642:0:99999:7:-1:11643:134540332
> > > test:$...:11645:0:99999:7:-1:11646:134540308
> > these users are hosed right?
> > 
> > explanation.
> > test: login id
> > $...: encrypted password
> > 11645: password last changed
> > 0: min days before password can be changed
> > 99999: max days before must be changed
> > 7: warn days
> > -1: inactive days allowed before account is
> > permanently disabled
> > 11646: absolute day to expire account (this number
> > is in the past now)
> > 134540308 = flag, not used
> > 
> > You will notice that all the accounts I flagged have
> > a date in the
> > expire field.
> > 
> > Try this:
> >  usermod -e -1 <user>
> > It may not like this. So you might try this
> >  usermod -e 2100-01-01 <user>
> > 
> > "usermod -e" says to modify the expire date so try
> > playing with this.
> > And read the manpage for usermod.
> > 
> > P.S. It is not safe to transmit even encrypted
> > passwords, I have deleted
> > them in this e-mail. An unscrupulous person could
> > crack these passwords
> > and do damage to your system (if the can access it).
> > 
> > > 
> > > 
> > > Here's the output for /etc/passwd:
> > This was ok
> > 
> > Brian
> > 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Find the one for you at Yahoo! Personals
> http://personals.yahoo.com
> 




More information about the Kclug mailing list