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 |
What are the packages for DNS?
What is the difference between init 1 and init s ?
Which file will take place while booting
How to review all zones in solaris10?
how will you execute backup and restore using the tar command in a single command
what is 2 in uadmin 2 0 command in solaris
Syntax for useradd commad
I don’t want to ask password reset in ever month to particular user. How to enable the same for only one user.
How to set passwd never expire for a user
How to find out the shared file system from server and client
How to find the network card speed
what is a solaris toolkit