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 |
Syntax for useradd commad
What are processing daemon in nis
How to remove the volume
In VxVm why should we do for Disk Group import and Deport?
How to enable and disable the dtlogin
How to find the network card speed
how many default groups are there in solaris10?what are they?
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
How many filed in /etc/vfstab
Tell me some of the differences between Solaris and Sun OS?
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 find the demo?