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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Expire All Passwords at once

Status
Not open for further replies.

warburp

IS-IT--Management
Oct 27, 2003
44
GB
Hi

I have implemented a new minimum password length (part of company policy) and I now need to expire all passwords where they do not meet this length (8). Can anyone suggest a good way of doing this.

thanks

Phil.
 
an example:

foreach user in (`cat /etc/passwd | cut -f1 -d:`)
passwd...
end

Best Regards, Franz
--
Solaris System Manager from Munich, Germany
I used to work for Sun Microsystems Support (EMEA) for 5 years
 
Cant you set the length of the password in /etc/default/passwd or something?
 
AFAIK Solaris allows a maximum of 8 characters in a password, any chars over that are ignored. I wonder if this is the same for Trusted Solaris (which I've never used)?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top