Re: determine when user account created?

From: Tony Walton (tony.walton_at_s_u_n.com)
Date: 10/27/04

  • Next message: Dave Uhring: "Re: determine when user account created?"
    Date: Wed, 27 Oct 2004 17:02:28 +0100
    
    

    Dave Uhring wrote:
    > On Wed, 27 Oct 2004 16:24:51 +0100, Tony Walton wrote:
    >
    >
    >>Dave Uhring wrote:
    >>
    >>>On Wed, 27 Oct 2004 15:40:59 +0100, Tony Walton wrote:
    >>>
    >>>
    >>>
    >>>>How would you propose to find the creation time of the home directory
    >>>>(or indeed of any file on a UFS filesystm)?
    >>>
    >>>
    >>>[duhring]$ ls -l .bash_profile
    >>>lrwxrwxrwx 1 root other 7 Aug 23 21:17 .bash_profile -> .bashrc
    >>>[duhring]$ ls -l /etc/chroot
    >>>lrwxrwxrwx 1 root root 18 Aug 23 19:42 /etc/chroot -> ../usr/sbin/chroot
    >>>
    >>
    >>Sorry Dave, I'm not with you there at all.
    >
    >
    > 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.

    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!)

    -- 
    Tony
    

  • Next message: Dave Uhring: "Re: determine when user account created?"

    Relevant Pages

    • Re: determine when user account created?
      ... Dave Uhring wrote: ... > symlink in my user's home directory. ... The symlink was created at about 21:17 on the same day, ... you're looking at there is the creation date/time of a symlink. ...
      (comp.unix.solaris)
    • 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)