Re: determine when user account created?

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


Date: Wed, 27 Oct 2004 19:52:34 -0500

On Wed, 27 Oct 2004 20:29:39 -0400, Barry Margolin wrote:

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

That symlink, if it were even created in the first place, would be quite
unlikely to be changed. Of course the user can change any file in his
home directory, but some are unlikely to be changed, ~/.dtprofile as an
example.

I am also aware that backup restores or simply copying with tar from one
disk to a new disk can cause errors there. For instance,

# ls -la .??*
-rw-r--r-- 1 username sysadmin 1430 Dec 7 2002 .kshrc

Yet this system was installed Aug 23, 2004.

OTOH, how many hidden files in *your* home directory were added on the
date your user account was created and still retain the same date/time?

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

~/.bashrc is not sourced at login so apparently it is not for *every*
instance of shell invocation.



Relevant Pages

  • Re: determine when user account created?
    ... > since their account was created. ... That symlink, if it were even created in the first place, would be quite ... disk to a new disk can cause errors there. ... instance of shell invocation. ...
    (comp.unix.solaris)
  • Re: find out whether a disk has used at all
    ... >> documentation previous admins kept on the box that outlines what each ... >> disk used along with filesystems associated with it. ... Is there some account naming policy that works for all systems in the ... How guessable are user passwords? ...
    (comp.unix.solaris)
  • Re: Of mice and men
    ... any more than bank security is voluntary by the customers. ... With their own account, and guest accounts set up, I no longer have to worry about someone else screwing my work tools up. ... There are many programs that have in the past been used to exploit Linux - programs running as "root" even though you are just a plebian user. ... If you ask to run a program that uses root privleges "as a plebian user" it will tell you that you do not have disk access. ...
    (comp.lang.cobol)
  • Re: What would happen if a solo W2K DC were to crash, and the data would be protected with NTFS?
    ... either built-in principals were used to grant NTFS access (like Users, ... On the second disk I implemented some ... > domain account to log on, I no longer had the issue. ... > that both hold one partition to the whole disk each. ...
    (microsoft.public.win2000.security)
  • Re: "apply to enclosed items" is grayed out
    ... run "Verify Disk" in Disk Utility to make sure your file system is ... But the Mac prompts you for ... I know CCC does have some problems (doesnâ??t preserve BSD flags, ... user account so that mistakes you make while using this account cannot ...
    (comp.sys.mac.system)