User Account Expired

JD Runyan Jason.Runyan at nitckc.usda.gov
Mon Nov 19 23:42:37 CST 2001


You need to look in /etc/defaults.  That is where you will find default
settings for useradd/adduser
On Mon, Nov ,  at 05:35:45PM -0600, Joshua Bergland wrote:
> I know that on AIX by default the user much change their password on 
> first login...
> 
> The sysadmin creates an account with a password, and then the user is 
> asked to change their password on first login...
> 
> This appears to be what is occuring...
> 
> Sorry, not sure how to stop this from happening, but hope this gets you 
> started on searching for an answer...
> 
> Josh Bergland
> 
> Brian Densmore wrote:
> 
> >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
> >>
> >
> >
> >
> 
> 
> 
> 
> 
> 

-- 
JD Runyan
		"You can't milk a point."
			David M. Kuehn, Ph.D.




More information about the Kclug mailing list