how can we know the creation time of user.
Answers were Sorted based on User's Feedback
Answer / indhu
check the /etc/shadow file. It will contain the
required information
| Is This Answer Correct ? | 12 Yes | 6 No |
At the time of user creation, we will mention the user's
home directory.
#ls -ld /dirname
Above command will provide the date and time stamp of user
creation information.
Eg:#useradd -d /export/home/raj -m /raj
The above command will create user "raj" along with home
directory "raj" which has been followed by /export/home.
#ls -ld /raj
The above command will display the time & date stamp.
Thanks & Regards
Natraj
| Is This Answer Correct ? | 2 Yes | 3 No |
Answer / venkat
use this coomand to know the time of creation.
In last line it gives PS <creation time>
#logins -x -l venkat
venkat 1031 other 1
/export/home/venkat
/usr/bin/bash
PS 123110 -1 105 14
| Is This Answer Correct ? | 1 Yes | 2 No |
Answer / prasad
If we want to know the users creation time or any other
details abt user, simply u can check /etc/shadow file. this
file having user's details like expire field shows the time
of user
| Is This Answer Correct ? | 0 Yes | 2 No |
Answer / somwanshi_sachin
check the /etc/passwd file there is comment give date of
user created. when u create user that time u write a
comment line this date then we can check in /etc/passwd file
| Is This Answer Correct ? | 1 Yes | 6 No |
Answer / indhu
check in the /etc/shado. It will contain the
required information
| Is This Answer Correct ? | 3 Yes | 11 No |
dif. b/w group and netgroup?
what is the difference between sc> and lom> ?
Tell me how to mount the floppy & cd-rom?
What is master map?
Explain what is multi homed system?
How does a solaris cluster work?
what are the run levels that are used in solaris10?
How to add gateway in solaris ?
Tell me how to discover global zone name from local zone?
how to create zoneusers
What are the ways in which replication agreements between directory structures be arranged?
Performace degradations in NFSv4 when upgraded from NFSv3? problems with NFS v4?