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 |
How will you come to know wheather hme 0r eri or to configuring the network card.
What r the daemons for DNS , Veritas, Apache,NFS Server & Client 4How can u configure two DHCP and Two DNS servers r there and u have 100's of users then 1st system takes which DHCP server and which DNS sever 5 what is the use of NIS how can u configure 6 what is the use RAID and which is the best(Solaris) 7 in RAID 5 and RAID 0+1 which u will preffer (Veritas)
3 Answers HCL, IBM, Tech Mahindra,
How to delete “abc” files using find command
How to add a root dg?
How to modify the user from ragu to haz
what is the command to know about pkg information
I don’t want to ask password reset in ever month to particular user. How to enable the same for only one user.
please post the step by step commands to take a back of directories or files in a CDROM\DVDROM\TAPE(DDS)
I would like to create users and the users account should be locked after 3 login attempts. How to create ? And where these locked information has been stored. Environment : NIS and if LDAP also
what are the solaris commands? how can i use them? are my requirements plz post it.
Have you done the patching, the patching is done by you only or some one will assign to you?
How will see the kernel version