Operating System - HP-UX
1836439 Members
3404 Online
110100 Solutions
New Discussion

Re: /etc/default/security

 
Shobha N.R
New Member

/etc/default/security

Hi,

Is there any command to create 'security' file under /etc/default or it needs to be created manually ?

Regards,
Shobha
3 REPLIES 3
Robert-Jan Goossens
Honored Contributor

Re: /etc/default/security

Hi,

You can create it maually.

Example.

# vi /etc/default/security
MIN_PASSWORD_LENGTH=8
PASSWORD_MIN_UPPER_CASE_CHARS=1
PASSWORD_MIN_LOWER_CASE_CHARS=3
PASSWORD_MIN_DIGIT_CHARS=1
PASSWORD_MIN_SPECIAL_CHARS=1
PASSWORD_HISTORY_DEPTH=1
NUMBER_OF_LOGINS_ALLOWED=2
NOLOGIN=0
ABORT_LOGIN_ON_MISSING_HOMEDIR=0

Regards,
Robert-Jan
Shobha N.R
New Member

Re: /etc/default/security

Hi Robert-Jan,

Thank you its working.

Regards,
Shobha
Peter Godron
Honored Contributor

Re: /etc/default/security

Hi,
sorry no command, as the file is site-specific.
Plenty of examples on the ITRC.
See "man security" to configure it to your needs.

Please also read:
http://forums1.itrc.hp.com/service/forums/helptips.do?#33 on how to reward any useful answers given to your questions.