How to lock the user id in solaris?

Answers were Sorted based on User's Feedback



How to lock the user id in solaris?..

Answer / senthilkumar

#passwd -l username

Is This Answer Correct ?    48 Yes 1 No

How to lock the user id in solaris?..

Answer / p.r.l.prasanna

passwd -l <username>

Is This Answer Correct ?    26 Yes 2 No

How to lock the user id in solaris?..

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

How to lock the user id in solaris?..

Answer / lochan

What is the function of sticky bits?

Is This Answer Correct ?    5 Yes 9 No

Post New Answer

More Solaris Commands Interview Questions

what is the difference between solaris 8&9,

2 Answers   BN, IBM, SUN,


How can youy check the disk status in , is it locally connected or remotely connected?

4 Answers   Thomson Reuters,


How do you add the disk without reboot the server?

2 Answers  


How many replicas should be for raid5 in sds if I have 5 disk

2 Answers  


what is differnce between boot -s and boot -S ?

3 Answers  






How to modify network card speed

2 Answers  


What is the nature of VCS?

2 Answers  


what is use of default users in solaris especilly nobady,noacess and nobady4

2 Answers  


What is default permission of /etc/passwd , /etc/shadow files

7 Answers   Accel Frontline,


How ill you remove the subdisk and plexus

4 Answers  


Default path for patches

2 Answers  


what are the common errors you find in Solaris Volume manager?

3 Answers  


Categories
  • Solaris Commands Interview Questions Solaris Commands (360)
  • Solaris Threads Interview Questions Solaris Threads (9)
  • Solaris IPC Interview Questions Solaris IPC (30)
  • Solaris Socket Programming Interview Questions Solaris Socket Programming (3)
  • Solaris System Calls Interview Questions Solaris System Calls (25)
  • Solaris General Interview Questions Solaris General (170)
  • Solaris AllOther Interview Questions Solaris AllOther (297)