How to lock the user id in solaris?
Answers were Sorted based on User's Feedback
Answer / swamynaidu kollu
Before we look at how to lock the user id, let's first take
a look at how you configure the number of consecutive,
failed authentication attempts that will serve as your line
in the sand. Any number of consecutive, failed attempts
beyond the number selected will result in the account being
locked. This number is based on the RETRIES parameter in the
/etc/default/login file. By default, this parameter is set
to 5. You can certainly customize this parameter based on
your local needs and policy. By default, the Solaris
Security Toolkit will set the RETRIES parameter to 3.
Now that we know how to define how many consecutive,
unsuccessful authentication attempts we will allow, let's
take a look at how you can enable the account lockout policy
globally. This policy can be altered using the
LOCK_AFTER_RETRIES variable in the /etc/security/policy.conf
file. Just as it sounds, if you set this parameter to YES,
then the account lockout policy is enabled for all users on
the system (unless there is a user override which we will
talk about in a minute). By default, this parameter is set
to NO which means that account lockout is not enabled.
To lock a user in Solaris:
#passwd -l {username}
Is This Answer Correct ? | 4 Yes | 1 No |
What are the configuration files in VxVm?
How can you search for commands at the boot prompt if you only know part of the command?
How to add a group
When you "ping server" and "ping server.domainname", you get different results. Why?
What is HA?
Difference between probe-scsi-all and probe-scsi
If super block corrupted how to recover
How will compare 2 host patches
what are the solaris commands? how can i use them? are my requirements plz post it.
How to make SUN server as router in subnetwork?
0 Answers ITC Infotech, JPMorgan Chase,
what is use of default users in solaris especilly nobady,noacess and nobady4
How can we check the status of CPU at firmware