Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

User Account Expiration 1

Status
Not open for further replies.
Mar 15, 2002
82
US
I'm not very familiar with Linux administration and I'm pretty stumped with this problem. It's probably a simple solution though.

I set up a password policy about 6 months ago, and aside from user errors, it has worked pretty well. I don't rememeber making any changes, but every user created since early July is getting an expiration date of 8/6/03, which shouldn't be happening. I don't know how this changed, but it did.

I ran Linuxconf and checked in there and it seems to be set correctly. I also checked useradd and I don't see it set in there either.

Can anyone tell me where it could be getting this expiration date from?

If you have any questions or need me to clarify further, please let me know.

Thanks in advance for your help!

Bob

---------------------------------------

In my limited experience, 80-90% of all problems brought to my attention can be attributed to PEBCAK...the other 10-20% can be attributed to MS!
 
Take a look in /etc/default/
there is probably a setting in the file useradd

e.g.:
GROUP=100
HOME=/home
INACTIVE=-1
EXPIRE= <---- mine is empty yours may not be!
SHELL=/bin/bash
SKEL=/etc/skel

On Solaris its /etc/default/passwd

e.g.:
MAXWEEKS= <-- Maximum weeks a password (in shadow file) is valid
MINWEEKS=
PASSLENGTH=8

See: man usermod

Good Luck,
Laurie.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top