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 performance tool used
If the root disk is failed how can change it?
What is the purpose of ha daemons in VCS servers?
How to lock the user id in solaris?
My solaris system has 16GB RAM and swap. /tmp is associated to swap. We use vmstat command to get used system memory. We observe that once we fill up /tmp, it reflects in vmstat command. My intention is only to get overall used memory in RAM. 1. Can you let me know the if there is a solaris command to just get used memory in RAM? 2. How is /tmp filling up associated to "free memory" in vmstat command?
How to create a new volume
How to find the plex, sub disk, Volume group, disk status, free spaces, disk controller, Volume controller?
How to add a tape deck on Sun Solaris version 10
what is differnce between boot -s and boot -S ?
How to clear the failing flag on a veritas volume manager disk:
How can you boot the system in single user mode? other than #boot CDROM/net -s
1. How do you replace a failed boot disk under meta in solaris? Step by step explanation? 2. How do you remove meta only for the root slice? remaining slices should run under meta? 3. what you would do if you want to replace a slice using metareplace option? 4. what is the significance of 51% state database replicas in SVM? 5. what are the common errors you find in Solaris Volume manager? 6. You have a boot disk under svm, the machine fails to boot and remains in ok prompt? what could be the possible reason? 7. metastat -p shows a metavolume needs replacement. Metavolume is a single way mirror only. Actually you find disk and metavolumes are ok and I/O is happening to the filesystems… how will you remove the metareplace message that comes out of metastat. 8. How to create a shared disk group in VxVM? 9. What is the difference between private and public regions in Veritas Volume manager? 10. what would you do if the private region of a particular disk group is full? What are the design considerations for the size of private region in Vxvm disk group? 11. How to replace a corrupt private region? in vxvm 3.5 and greater versions… 12. How would you convert a volume from gen to fsgen? why should you do that? 13. How can you unencapsulate a boot disk in VxVM? 14. How to identify multiple paths for a disk. 15. What is the difference between Vxdmp and EMC powerpath? 16. vxdisk -o alldgs list o/p shows some disk groups in braces… What does that signify? 17. what are the various layouts that are available in VxVM? 18.What is a layered volume? how to create it using vxmake? 19.How to quickly mirror a volume, if the volume is empty? 20. How to grow a volume? 21. What is the difference between failing and failed disks? 22. How to replace a failed disk in Veritas? 23. Plex is in a disabled state. How will you recover? what are the steps to follow? 24.what is the difference between detached and disassociate state of plexes? 25. Whats the boot process of VxVM? 26. Whats the difference between SVM and VxVM? What would you recommend to your clients? why? 27.What are the various clusters you have worked on? 28. Which cluster is better VCS or Sun cluster? 29. Compare and contrast VCS and Sun Cluster. 30.how will you start VCS service? What are the configuration files in VCS? 31. How would switch a service group? 32. How would you freeze a service group? 33. What is a Split brain scenario ?