Re: determine when user account created?

From: Barry Margolin (barmar_at_alum.mit.edu)
Date: 10/28/04


Date: Wed, 27 Oct 2004 20:29:39 -0400

In article <pan.2004.10.27.16.40.36.695742@yahoo.com>,
 Dave Uhring <daveuhring@yahoo.com> wrote:

> 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?

Users modify stuff in their home directories all the time. I would
never assume that anything in the user's directory has been untouched
since their account was created. Why do you expect a symlink from
.bash_profile to .bashrc to stay around? I'm not even sure why these
would be linked together in the first place, since they serve different
purposes -- .bash_profile is only for the login shell, while .bashrc is
for every shell.

-- 
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***


Relevant Pages

  • 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?
    ... >> symlink in my user's home directory. ... > The symlink was created at about 21:17 on the same day, ... I agree that UFS does not easily provide creation time, ...
    (comp.sys.sun.admin)
  • Re: determine when user account created?
    ... >> symlink in my user's home directory. ... > The symlink was created at about 21:17 on the same day, ... I agree that UFS does not easily provide creation time, ...
    (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)

Quantcast