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 will you view the packages?
please post the step by step commands to take a back of directories or files in a CDROM\DVDROM\TAPE(DDS)
1.Password less authentication in linux & Solaris
If you have got a LUN, How to configure it, how to allocate LUN in linux/ solaris. What are the steps ?
if /etc/system file file got deleted how you will regenerate from ok prompt ? in solaris and if and /etc/inittab file got deleted how you will regenerate from ok prompt and if both files got deleted how you will regenerate from ok prompt
How to stop if Solaris system it rebooting continually. What is the steps to come normal position.
in solaris performance tuning what fields we check with IOSTAT, VMSTAT and NETSTAT?
can you explain about the vxencap command in veritas volume manager?
Which service assign port no dynamically
what is mount ? in that what will happen exactly ?
What are the daemons in VERITAS?
How will you check the disk performance?