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 |
After creating swap file update the same to /etc/vfstab what will be the fstype.
please post few interview questions ? or any url related to solaris
I have single NIC card and we have two ports can we configure as IPMP?
How to enable and disable the dtlogin
How can u make file system of 65 GB if u get new disk of 80 GB? (U have to fix the disk and make the file system of 65 GB)
If a User Account is locked,which file you need to check and how do you get to know at what time it has been locked.
How will you grow a disk space whitout disturbs
what is cluster.
How to create core dump and crash dump #coreadm .
How will you ad new aliases name
We have edit the /etc/passwd file and modify a user forget to give the shell will user able to loging?
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,