Re: determine when user account created?

From: Martin Paul (map_at_par.univie.ac.at)
Date: 10/28/04

  • Next message: Daniel Wetzler: "Re: Problem with pkgadd (checkinstall)"
    Date: 28 Oct 2004 09:13:39 GMT
    
    

    In comp.sys.sun.admin Dave Uhring <daveuhring@yahoo.com> wrote:
    > 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.

    .dtprofile is where you might set the BROWSER variable, so it's not
    unlikely that it has been modified. Plus, logins might exist longer
    than CDE (I have lots of them) and therefore, .dtprofile.

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

    For me, none. The oldest file has a modification date from 1996
    (.plan), my account is much older. I have user accounts that are
    only used remotely - the only file I give them at creation is
    .cshrc, which usually gets modified frequently.

    Anyway, to answer the OP's question - there's no 100% safe way to
    find out when an account is created, therefore it's recommended to
    log account creations/removals in a log file. If you have a script
    to add accounts, that's pretty easy anyway.

    mp.

    -- 
    Systems Administrator | Institute for Software Science | Univ. of Vienna
    

  • Next message: Daniel Wetzler: "Re: Problem with pkgadd (checkinstall)"

    Relevant Pages

    • Re: determine when user account created?
      ... than CDE and therefore, .dtprofile. ... my account is much older. ... log account creations/removals in a log file. ...
      (comp.unix.solaris)
    • Re: SAMBA and XP
      ... I use Samba to access shares from network 'nix boxes from ... In Windows, when you're a member of a Domain, you sent your authentication ... the home directory and drive mapping, ... and give it the same name and password as the account they ...
      (RedHat)
    • Re: Leopard: Advanced Options in Accounts not ready for prime time?
      ... When I created a regular user account I went back in to Advanced Options and changed the home directory for that user from /Users/ethant to /Volumes/Home/ethant. ... I'd expect that to create my basic account user in /Volumes/Home/ethant upon first login. ...
      (comp.sys.mac.system)
    • Re: Copying over a user account #2
      ... >>> The user now has permissions for all its own files, ... The desktop layout is in the home directory, at least on 10.4, so I do not ... never tried more than one account under 10.3, ... > difference -- I dragged the home directory over from the iBook to the G4 ...
      (comp.sys.mac.system)
    • Re: unpriviledge user to run a program
      ... Yes, least privilege, not "less than necessary privilege". ... having a special account associated with a network service opened up ... problem setting up a special home directory for each daemon ... To be honest, I don't use IRC. ...
      (comp.unix.shell)