Operating System - HP-UX
1833053 Members
2481 Online
110049 Solutions
New Discussion

how to security my system by these parameters

 
leyearn
Regular Advisor

how to security my system by these parameters

which parameter define the times after entering the wrong passwords ,the telnet session terminate

which parameter define the number of history passwords

which parameter define the maxage of password

which parameter define the minlength of password

5 REPLIES 5
Frank de Vries
Respected Contributor

Re: how to security my system by these parameters

I assume you mean the parameters to the
password command
passwd -n min
passwd -x max

passwd -s -a to display all attributes for all users in the password file.

/etc/default
and append to it one line content PASSWORD_HISTORY_DEPTH=number. The
line contains three keywords, PASSWORD_HISTORY_DEPTH, =

see man passwd for more details
Look before you leap
Pete Randall
Outstanding Contributor

Re: how to security my system by these parameters

Make that "/etc/default/security", not "/etc/default".


Pete

Pete
santhanakrishnan_1
Frequent Advisor

Re: how to security my system by these parameters

For implement this type of security policy .U have to covert the system into Trusted mode.
Frank de Vries
Respected Contributor

Re: how to security my system by these parameters

I did some more research for you on
man auth

Trusted systems support password aging and password generation. For
more information on converting to trusted system and on password, see
Managing Systems and Workgroups and sam(1M).

getpwent(3C) designates values to the fields in the following
structure declared in :

struct passwd {
char *pw_name;
char *pw_passwd;
uid_t pw_uid;
gid_t pw_gid;
char *pw_age;
char *pw_comment;
char *pw_gecos;
char *pw_dir;
char *pw_shell;
aid_t pw_audid;
int pw_audflg;
};

So your man was right about the Trusted systems

Keep cooking:)
Look before you leap
Peter Godron
Honored Contributor

Re: how to security my system by these parameters

Hi,
see: /etc/auth/system/default

man default
and

man prpwd
also

SAM
-> Auditing and Security
-> System Security Policies