1753270 Members
5169 Online
108792 Solutions
New Discussion юеВ

Passwords

 
Ragni Singh
Super Advisor

Passwords

Hello, where and or how can I find these 2 things in Unix/ Linux.

1. User cannot reuse the same password.
2. for a new user, password change is enforced in the first login.

Thanks and points will be assigned.
3 REPLIES 3
Ivan Ferreira
Honored Contributor

Re: Passwords

It's different on each Unix and Linux.

In Solaris, for example, you have the /etc/default/passwd.

In Tru64 Unix, you have to enable Enhanced Security.

For Linux, you should configure PAM cracklib:

http://www.deer-run.com/~hal/sysadmin/pam_cracklib.html

For HP-UX, you have to configure a trusted system:

http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=60172

For AIX, you have the /etc/security/user file:

http://publib.boulder.ibm.com/infocenter/pseries/v5r3/index.jsp?topic=/com.ibm.aix.files/doc/aixfiles/pwdhist.htm
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Ragni Singh
Super Advisor

Re: Passwords

In Solaris only, my /etc/deafult/passwd shows the following..

#ident "@(#)passwd.dfl 1.3 92/07/14 SMI"
MAXWEEKS=
MINWEEKS=
PASSLENGTH=8

For solaris only, what file and or command will show me the 2 that is in question.

Here is my shadow file for user oracle.

oracle:oS1Z43x70xJlI:14231:30:180::::

Here is the attribute for user oracle as well.

oracle PS 12/18/08 30 180
Ivan Ferreira
Honored Contributor

Re: Passwords

What solaris version? I know Solaris 10 and this is my /etc/default/passwd file:

# The maximum value of HISTORY is 26.
#
# This flag is only enforced for user accounts defined in the
# local passwd(4)/shadow(4) files.
#
#HISTORY=0
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?