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.
Answer Posted / 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 |
Post New Answer View All Answers
What does pkgadd command do?
There are two nic cards on a sun server. I need to connect one nic to pupic ip and another nic to DMZ. Could you tell me how to configure step by step?
How to create core dump and crash dump #coreadm .
How to add a new LUN in exit disksets (metasets) in solaris please answer me step by step procedure?
what are the alarms in solaris?
Write the steps involved in creating and executing a program to implement the “case” command.
what is the difference between solaris8 and solaris9 and solaris10
How to make SUN server as router in subnetwork?
Which command is used to backup and restore solaris file system?
How to configure email notification in solaris 8? We are using netbackup 5
If the root disk is failed how can change it?
What are the differences between the command line and graphical user interface?
please post step by step installation of packages from the EIS cd..
Where do you get Alarm prompt?
After first installation of Solaris 10, what and all the Securities We need to set and how ?