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 |
What is the login shell?
how would we know a file system exists on a slice when it is unmounted from its mount point. please anyone help me out.
What is difference between swap -l & swap -s?
What are the last 2 columns listed with Vmstat? What is their significance?
how to create 100 users at a time in solaris?
What are the raid levels in solaris?
Solaris booting process, run leverls?
1 Answers Galaxy, Satyam, Wipro,
How many run levels are there and what are they?
How can a user increase the number of pseudo-ttys? what is their use?
what are the daemons running In NIS? how to do u create NIS users and update Maps?
solaris booting process.
How to see the route?