Re: determine when user account created?
From: Tony Walton (tony.walton_at_s_u_n.com)
Date: 10/27/04
- Next message: Tony Walton: "Re: determine when user account created?"
- Previous message: Ian Gregory: "Re: determine when user account created?"
- In reply to: Thomas Maier-Komor: "Re: determine when user account created?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 27 Oct 2004 16:57:52 +0100
Thomas Maier-Komor wrote:
> Tony Walton wrote:
>
>> Thomas Maier-Komor wrote:
>> > sinister wrote:
>> >
>> >> Is there any way to determine when a user account was first
>> >> created?
>> >>
>> >
>> > a good guess might be the creation time of the home directory
>>
>> How would you propose to find the creation time of the home directory
>> (or indeed of any file on a UFS filesystm)?
>>
>
> well, I guess you are right that the creation time is not available,
> but on the other hand i am not aware that the modification time
> is updated for directories after their creation? Am I wrong?
$ mkdir dir
$ cd dir
$ ls
$ ls -ld
drwxr-xr-x 2 tw25440 techies 512 Oct 27 16:52 .
$ touch foo
$ ls -ld
drwxr-xr-x 2 tw25440 techies 512 Oct 27 16:53 .
$ sleep 60; rm foo
$ ls -ld
drwxr-xr-x 2 tw25440 techies 512 Oct 27 16:54 .
$ sleep 60; touch .
$ ls -ld
drwxr-xr-x 2 tw25440 techies 512 Oct 27 16:55 .
$ touch 12251234 .
$ ls -ld .
drwxr-xr-x 2 tw25440 techies 512 Dec 25 2004 .
And so on.
-- Tony
- Next message: Tony Walton: "Re: determine when user account created?"
- Previous message: Ian Gregory: "Re: determine when user account created?"
- In reply to: Thomas Maier-Komor: "Re: determine when user account created?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|