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
Answers were Sorted based on User's Feedback
Answer / akash
on Solaris 10
in /etc/default/login
SYSLOG_FAILED_LOGINS=5
set this variable , it mean take 5 times to wrong passwd and
after that user locked by wrong passwd.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / anurag dhingra
To create a new user :
useradd -u uid -g gid -G{Gid1, Gid2,...} -d home dir -m -s shell -c "comment field" -l loginname
For user account should be locked after 3 login attempts:
2 Files should be configured like this
file1 : /etc/security/policy.conf
parameter : LOCK_AFTER_RETRIES=YES
file2 : /etc/default/login
parameter: RETRIES=3 (Default value=5)
Thanks @
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / tapas jana
Edit the RETRIES parameter in the /etc/default/login file.
By default it is set as 3.
| Is This Answer Correct ? | 0 Yes | 3 No |
how many clients have in our server ? how we find that?
How can we take the failback in Veritas Cluster Server.
How to configure domain controller in SAMBA using SOLARIS 10 OS and How to centralize domain name and creating users.How to share files for WINDOWS XP clients
In VxVm why should we do for Disk Group import and Deport?
How to mirror and unmirror a disk?
Which file to be configuring the logs messages (like: /var/adm/message etc…)
how to add the more than one number of pkg at a time in solaris
If a main.cf files corrupted how will you rectify
After creating user account successfully it shows 64 blocks.what for these 64 blocks are used and what information is stored in this blocks?
If telnet not working, what are the thing to be checked
How to find the demo?
What is mean by paging & server average time.