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.
Answers were Sorted based on User's Feedback
Answer / swamy naidu kollu
By default User account information is stored
in /etc/passwd & /etc/shadow file. So have to
edit /etc/shadow file and delete the *LK* for that
particular user password mapped in /etc/shadow.
or
unlock it using
#passwd -u <user name>
or
#passwd <user name>
Newpasswd:*******
Re-enter:*******
==================================================
With regards to logs depends on what naming service you are
using ( NIS or LDAP). You can check them in the log files
at what time the user account was locked.
| Is This Answer Correct ? | 8 Yes | 1 No |
Answer / arun
You can try the above solution...
And one more command is last command will help you find user
information...
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / icha
For NIS, you may try the directory /var/yp/ypfile, yp is an
acronym for yellow page/s
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / sudas
Thank you Swamy.
Can you please share the log file location,if it is NIS or
LADAP.
| Is This Answer Correct ? | 0 Yes | 1 No |
How to mirror a root dg? With eg
How to find & replace bad disks in solaris & VXVM?plz explain step by step?
How to enable and disable the dtlogin
how to configure ethernet card.
How to find the demo?
What are the protocols in VCS
how to stop the process using process name
What are the differences between the command line and graphical user interface?
How to create core dump and crash dump #coreadm .
Command to find the VCS status
What is the difference between the VERITAS 3.0 and VERITAS 4.0?
I want to create a 30Gb of size in three different disks 10Gb,5Gb and 15Gb respectively in VxVm , how can we create it kindly explain step by step procedure.