Operating System - HP-UX
1834802 Members
2882 Online
110070 Solutions
New Discussion

Re: to set passwd profile

 
shafique
New Member

to set passwd profile

I want to set passwd profile to user like
the passwd set by user must have atleast one number etc.... can any one help
11 REPLIES 11
James R. Ferguson
Acclaimed Contributor

Re: to set passwd profile

Hi:

Use PASSWORD_MIN__CHARS as defined in the '/etc/defaults/security' configuration file. See:

http://www.docs.hp.com/en/B2355-60127/security.4.html

...or the appropriate release manpages.

Regards!

...JRF...
shafique
New Member

Re: to set passwd profile

not able to find the file


my hp version is

HP-UX mumbsns1 B.11.11 U 9000/800 903027840 unlimited-user license


can i configure it
James R. Ferguson
Acclaimed Contributor

Re: to set passwd profile

Hi (again):

> not able to find the file...can Iconfigure it?

Yes. Create the file owned by bin:bin with 444 permissions.

I see that you are a new member of the ITRC today. Welcome! When you have had your problem resolved, please follow:

http://forums11.itrc.hp.com/service/forums/helptips.do?#28

Regards!

...JRF...
Aashique
Honored Contributor

Re: to set passwd profile

Hi,
security file permission is:

-r--r--r-- 1 bin bin 2406 Aug 27 2004 security

Change this as per your requirement.

# PASSWORD_MIN_UPPER_CASE_CHARS=0
# PASSWORD_MIN_LOWER_CASE_CHARS=0
# PASSWORD_MIN_DIGIT_CHARS=1
# PASSWORD_MIN_SPECIAL_CHARS=2

Thanks & Regards

Aashique
Sajjad Sahir
Honored Contributor

Re: to set passwd profile

Dear Shafi

The file is security
it is present under the /etc/default directory this file determines default behaviour. u can see a lot of parameters present in this directory and u can configure it.

thanks and regards

sajjad sahir
Rasheed Tamton
Honored Contributor

Re: to set passwd profile

cp /usr/newconfig/etc/default/security /etc/default/security

Then just uncomment what you need as the above. Just go through the file. It has the info you need. Also there is a man for security

man security

There is a typo in JRF's post above. The dir should be /etc/default

Rgds.

Jeeshan
Honored Contributor

Re: to set passwd profile

Hi Shafique

You can use it intrusted mode.

In trusted mode you can set the password definition as you want.
a warrior never quits
shafique
New Member

Re: to set passwd profile

Yes i am newly joined ,it will try this and revert you for the same
F Verschuren
Esteemed Contributor

Re: to set passwd profile

be aware that if you create this file the old passwd that a user has will keep working, this file is only used when setting a passwd.

If you run in a trusted mode both settings are active so make sure that if you put the MIN_PASSWORD_LENGHT=9 (ore bibber)
that you also put the max passwd length (default=8) to more than the minimal in the trusted mode config, els you will end up whit a system where is is not poseble to pick a proper passwd.....
shafique
New Member

Re: to set passwd profile

thanks for support now all my query are cleared
Aashique
Honored Contributor

Re: to set passwd profile

hi,
If our suggestions were helpful, please read the following about assigning points:
http://forums.itrc.hp.com/service/forums/helptips.do?#33

Thanks.