how can we know the creation time of user.

Answers were Sorted based on User's Feedback



how can we know the creation time of user...

Answer / indhu

check the /etc/shadow file. It will contain the
required information

Is This Answer Correct ?    12 Yes 6 No

how can we know the creation time of user...

Answer / girish

Unix doesn't maintain file creation date.

Is This Answer Correct ?    2 Yes 3 No

how can we know the creation time of user...

Answer / natraj

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

how can we know the creation time of user...

Answer / r@m

logins -x -l username it will show user creation date.

Is This Answer Correct ?    5 Yes 6 No

how can we know the creation time of user...

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

how can we know the creation time of user...

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

how can we know the creation time of user...

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

how can we know the creation time of user...

Answer / indhu

check in the /etc/shado. It will contain the
required information

Is This Answer Correct ?    3 Yes 11 No

Post New Answer

More Solaris General Interview Questions

What is the login shell?

0 Answers  


how would we know a file system exists on a slice when it is unmounted from its mount point. please anyone help me out.

6 Answers  


What is difference between swap -l & swap -s?

0 Answers  


What are the last 2 columns listed with Vmstat? What is their significance?

1 Answers   Satyam, Wipro,


how to create 100 users at a time in solaris?

6 Answers   Tech Mahindra,






What are the raid levels in solaris?

0 Answers  


Solaris booting process, run leverls?

1 Answers   Galaxy, Satyam, Wipro,


How many run levels are there and what are they?

0 Answers  


How can a user increase the number of pseudo-ttys? what is their use?

0 Answers  


what are the daemons running In NIS? how to do u create NIS users and update Maps?

5 Answers   Satyam, Wipro,


solaris booting process.

4 Answers   HCL, Satyam, Wipro,


How to see the route?

4 Answers   Satyam, Wipro,


Categories
  • Solaris Commands Interview Questions Solaris Commands (360)
  • Solaris Threads Interview Questions Solaris Threads (9)
  • Solaris IPC Interview Questions Solaris IPC (30)
  • Solaris Socket Programming Interview Questions Solaris Socket Programming (3)
  • Solaris System Calls Interview Questions Solaris System Calls (25)
  • Solaris General Interview Questions Solaris General (170)
  • Solaris AllOther Interview Questions Solaris AllOther (297)