Re: determine when user account created?

From: Ian Gregory (foo_at_bar.invalid)
Date: 10/27/04


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/


Relevant Pages

  • Re: determine when user account created?
    ... In article, Thomas Maier-Komor wrote: ... > Tony Walton wrote: ... >> How would you propose to find the creation time of the home directory ...
    (comp.unix.solaris)
  • Re: determine when user account created?
    ... > I agree that UFS does not easily provide creation time, ... > do know that the symlink in the user's home directory was created within a ... Why do you expect a symlink from ... purposes -- .bash_profile is only for the login shell, ...
    (comp.unix.solaris)
  • Re: determine when user account created?
    ... > I agree that UFS does not easily provide creation time, ... > do know that the symlink in the user's home directory was created within a ... Why do you expect a symlink from ... purposes -- .bash_profile is only for the login shell, ...
    (comp.sys.sun.admin)
  • Re: determine when user account created?
    ... Tony Walton wrote: ... > How would you propose to find the creation time of the home directory ... but on the other hand i am not aware that the modification time ...
    (comp.unix.solaris)
  • Re: determine when user account created?
    ... Tony Walton wrote: ... > How would you propose to find the creation time of the home directory ... but on the other hand i am not aware that the modification time ...
    (comp.sys.sun.admin)