Re: determine when user account created?

From: Dave Uhring (daveuhring_at_yahoo.com)
Date: 10/27/04


Date: Wed, 27 Oct 2004 11:40:40 -0500

On Wed, 27 Oct 2004 17:02:28 +0100, Tony Walton wrote:

> Dave Uhring wrote:

>> The OS was installed at about 19:42 on 23 August - from the symlink for
>> /etc/chroot.
>>
>> The user account was created at about 21:17 on the same day - from the
>> symlink in my user's home directory.
>>
>
> The symlink was created at about 21:17 on the same day, sure. How do you
> know it wasn't deleted at 21:14 and re-created three minutes later? All
> you're looking at there is the creation date/time of a symlink.

I agree that UFS does not easily provide creation time, if at all. But I
do know that the symlink in the user's home directory was created within a
couple of minutes after running useradd. How much precision is necessary
to provide an answer to the OP's question?

> Same goes for the /etc/chroot symlink. You're assuming that those
> creation dates and times are reliable
>
> # ls -l /etc/chroot
> lrwxrwxrwx 1 root other 17 Oct 27 17:00 /etc/chroot ->
> ../usr/bin/chroot
>
> This OS was installed a *lot* more than a minute ago (I was there!)

I suppose that one could delete and create a new symlink or even that a
patch could do that. But it's unlikely that all those symlinks in /etc
would be so affected unless done deliberately.



Relevant Pages

  • Re: word unexpectedly quits on Network user
    ... I had my Home Directory on another partition for years, ... created a symlink to a subfolder called "Applications" in my Home Directory. ... If i open a new blank document, it opens fine. ... then the word will quit unexpectedly. ...
    (microsoft.public.mac.office.word)
  • Re: How to make a program automatically start at startup
    ... Gevadas A. Akkara wrote: ... Try putting it into /etc/init.d and then creating symlink to it from ... .bash_profile in your home directory, and then it'll be run every time ...
    (comp.os.linux.development.apps)
  • Re: no more /home after running sys-unconfig?
    ... > I notice that every time I do an upgrade, my home directory ... After the upgrade, ... Your symlink is not complaint with the automounter default. ...
    (comp.unix.solaris)
  • Re: mount in userfolder?
    ... directory is copied over to the new home directory, ... symlinks in it (a symlink is basically a text file with a destination ... Just keep in mind that things work differently in Linux, ... Technically you could add a forced symlink command to the /etc/profile ...
    (alt.os.linux)
  • 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)