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 type of job tickets do u handle?

3 Answers   Infotech, Satyam, Wipro,


how to solve the system hung issue. found that the memory state is free... commands to check and solve the issue

1 Answers  


How many run levels are there and what are they?

0 Answers  


how to set default runlevel in solaris.How to set the default Runlevel as INIT-2.

5 Answers   Microland,


Explain the types of installations in solaris

0 Answers  






Port no for telnet (23) , ssh(22)?

2 Answers   Satyam, Wipro,


how can we know the creation time of user.

8 Answers  


How to set the path for core file?

2 Answers   HCL,


How to check version of NFS?

6 Answers   Satyam, Wipro,


How can a user boot in solaris as root if the password is non functional?

0 Answers  


How to solve the system hang issue.

0 Answers  


If system got crashed. How do u troubleshoot? What are starting steps?

5 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)