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

Login shell script

Status
Not open for further replies.

rawatds

Programmer
Jun 3, 2004
30
SG
Hi
I want a shell script which run when user is trying to change its password in UNIX .
The string for password should validate the following :
1) Should be 2-8 character in length
2) There should be no !,@,#,$ character
3) 1st character should always be letter
4) at least 1 character is in lower case

thnaks in advance
rawat
 
man goodpw

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Hi
I search in the man goodpw but in my /usr/lib i couldnot find goodpw file
also in passwd file in /etc/default i could get only for minimun character i.e. PASSLENGTH=6
but not for other constraints .
Any help
Regards
rawat
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top