The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Find user password expiry date oztoma UNIX for Dummies Questions & Answers 4 04-17-2009 10:07 AM
Help Required: Command to find IP address and command executed of a user loggedout Security 2 08-06-2008 08:12 PM
Use date command to find last month Cbish68 Shell Programming and Scripting 5 08-10-2007 10:32 AM
Changing Creation Date to a Prespecified Date of a File In Unix monkfan UNIX for Dummies Questions & Answers 4 11-28-2006 07:15 AM
user account creation date lilweezy UNIX for Dummies Questions & Answers 2 05-24-2006 04:12 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 01-05-2007
Crazy_murli Crazy_murli is offline
Registered User
  
 

Join Date: Jun 2006
Location: UK
Posts: 26
Command to find out user creation date

Is there a Command to find out user creation date ?

or any other possible ways to find the same.
  #2 (permalink)  
Old 01-05-2007
suntac suntac is offline
Registered User
  
 

Join Date: Jul 2005
Location: Amsterdam
Posts: 97
Quote:
Originally Posted by Crazy_murli
Is there a Command to find out user creation date ?

or any other possible ways to find the same.
By default this is not enabled. You might want to check the audit daemon, the audit daemon
Can track those kinds of things.

If your company is SOX compliant it can very well be that you need this to be in place to be SOX compliant. You can check out the following links:


http://www.terminalcult.org/manpages...&Search=Search
http://www.terminalcult.org/manpages...&Search=Search
http://www.terminalcult.org/manpages...&Search=Search


Regards, Johan Louwers.

***Moderators note: Signature removed from post -- reborg.

Last edited by reborg; 01-05-2007 at 03:20 PM..
  #3 (permalink)  
Old 01-07-2007
Crazy_murli Crazy_murli is offline
Registered User
  
 

Join Date: Jun 2006
Location: UK
Posts: 26
Very true. But we dont this in place on the server now.

And we are trying to find this out for an existing user.
We tried checking the user home directory for the timestamps of .bash_profile etc. Not sure, if this is the only way available. Just trying to find out easy ways for doing the same.

Cheers, Murli.
  #4 (permalink)  
Old 01-08-2007
SkySmart SkySmart is offline
Registered User
  
 

Join Date: Dec 2006
Posts: 48
Quote:
Originally Posted by Crazy_murli
Very true. But we dont this in place on the server now.

And we are trying to find this out for an existing user.
We tried checking the user home directory for the timestamps of .bash_profile etc. Not sure, if this is the only way available. Just trying to find out easy ways for doing the same.

Cheers, Murli.

just a thought. but i'm almost certain if you do a ls -ld on the home directory of the user that should bring you closer to the exact date it was created.

ls -ld /home/user'shomedirectory (check the 6th and 7th columns)
  #5 (permalink)  
Old 01-08-2007
SkySmart SkySmart is offline
Registered User
  
 

Join Date: Dec 2006
Posts: 48
Quote:
Originally Posted by SkySmart
just a thought. but i'm almost certain if you do a ls -ld on the home directory of the user that should bring you closer to the exact date it was created.

ls -ld /home/user'shomedirectory (check the 6th and 7th columns)

actually, this can be wrong since the 6th and 7th columns date gets updated each time the contents of the directory changes.

however, depending on the frequency of the user's usages you can do a ls -ltcr in the user's home directory and look at the date of oldest file in there.
  #6 (permalink)  
Old 01-08-2007
_Spare_Ribs_'s Avatar
_Spare_Ribs_ _Spare_Ribs_ is offline
Registered User
  
 

Join Date: Dec 2006
Location: /dev/null
Posts: 72
Hi all,

Just a quick note. Remember it's possible to create a user account without a home directory so checking modification times of home directories wont always work.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 12:03 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0