Re: determine when user account created?
From: Ian Gregory (foo_at_bar.invalid)
Date: 10/27/04
- Next message: Tony Walton: "Re: determine when user account created?"
- Previous message: Dave Uhring: "Re: determine when user account created?"
- In reply to: Thomas Maier-Komor: "Re: determine when user account created?"
- Next in thread: Tony Walton: "Re: determine when user account created?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 27 Oct 2004 15:57:06 GMT
In article <cloev3$lfm$1@wsc10.lrz-muenchen.de>, 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?
Yes:-)
ihg0(535)$ uname -a
SunOS xxxx 5.10 s10_58 sun4u sparc SUNW,Ultra-5_10
ihg0(536)$ mkdir test;cd test;sleep 60
ihg0(537)$ ls -ld .;ls -ldc .
drwxr-xr-x 2 ccsqihg staff 512 Oct 27 16:53 .
drwxr-xr-x 2 ccsqihg staff 512 Oct 27 16:53 .
ihg0(538)$ touch zzz
ihg0(539)$ ls -ld .;ls -ldc .
drwxr-xr-x 2 ccsqihg staff 512 Oct 27 16:54 .
drwxr-xr-x 2 ccsqihg staff 512 Oct 27 16:54 .
-- Ian Gregory http://www.zenatode.org.uk/ian/
- Next message: Tony Walton: "Re: determine when user account created?"
- Previous message: Dave Uhring: "Re: determine when user account created?"
- In reply to: Thomas Maier-Komor: "Re: determine when user account created?"
- Next in thread: Tony Walton: "Re: determine when user account created?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|