<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: user info in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/user-info/m-p/2716100#M907604</link>
    <description>Hi&lt;BR /&gt;&lt;BR /&gt;I reckon the closest is the wtmp/utmp files providing they have not been purged.&lt;BR /&gt;&lt;BR /&gt;For the future I would create a file using the following command&lt;BR /&gt;&lt;BR /&gt;touch /etc/skel/.creation&lt;BR /&gt;&lt;BR /&gt;now all new user accounts creted will have a file in the home directory with the cretaion date.</description>
    <pubDate>Fri, 03 May 2002 10:01:14 GMT</pubDate>
    <dc:creator>John Carr_2</dc:creator>
    <dc:date>2002-05-03T10:01:14Z</dc:date>
    <item>
      <title>user info</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-info/m-p/2716088#M907592</link>
      <description>Is ther way to know when was a user account created on the system??&lt;BR /&gt;</description>
      <pubDate>Thu, 02 May 2002 20:27:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-info/m-p/2716088#M907592</guid>
      <dc:creator>John McDen</dc:creator>
      <dc:date>2002-05-02T20:27:37Z</dc:date>
    </item>
    <item>
      <title>Re: user info</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-info/m-p/2716089#M907593</link>
      <description>General answer is no. If you didn't recycle samlog and if the user was added through SAM, you can use /usr/sam/bin/samlog_viewer to find previous logs.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Thu, 02 May 2002 20:35:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-info/m-p/2716089#M907593</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2002-05-02T20:35:03Z</dc:date>
    </item>
    <item>
      <title>Re: user info</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-info/m-p/2716090#M907594</link>
      <description>Other than the date and time stamps on their home directorys( Which can be changes at a later time. ), I can't think of one single way.&lt;BR /&gt;&lt;BR /&gt;Maybe go look at the last log or check backups to get a round about time.&lt;BR /&gt;&lt;BR /&gt;-Yates</description>
      <pubDate>Thu, 02 May 2002 20:36:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-info/m-p/2716090#M907594</guid>
      <dc:creator>hpuxrox</dc:creator>
      <dc:date>2002-05-02T20:36:46Z</dc:date>
    </item>
    <item>
      <title>Re: user info</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-info/m-p/2716091#M907595</link>
      <description>"First created" .. I would say no, otherwise we would not include this info in our GECOS field.&lt;BR /&gt;&lt;BR /&gt;"First logon" .. possible by tracing utmp/wtmp file entries.</description>
      <pubDate>Thu, 02 May 2002 20:37:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-info/m-p/2716091#M907595</guid>
      <dc:creator>S.K. Chan</dc:creator>
      <dc:date>2002-05-02T20:37:44Z</dc:date>
    </item>
    <item>
      <title>Re: user info</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-info/m-p/2716092#M907596</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I don't think you can do this. But if you are sure  about users .profile files from home directory  were not modified then time stamp would give you  general idea when it was created.&lt;BR /&gt;&lt;BR /&gt;But this would be just guessing. &lt;BR /&gt;&lt;BR /&gt;-USA..</description>
      <pubDate>Thu, 02 May 2002 20:40:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-info/m-p/2716092#M907596</guid>
      <dc:creator>Uday_S_Ankolekar</dc:creator>
      <dc:date>2002-05-02T20:40:03Z</dc:date>
    </item>
    <item>
      <title>Re: user info</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-info/m-p/2716093#M907597</link>
      <description>Hi John,&lt;BR /&gt;&lt;BR /&gt;Its very dificult to say when the user has been created.&lt;BR /&gt;&lt;BR /&gt;But there is a command called 'last' which can give you when the user had last logged in.&lt;BR /&gt;&lt;BR /&gt;# last sukant&lt;BR /&gt;sukant   pts/tb       Fri Apr 26 21:00 - 21:00  (00:00)&lt;BR /&gt;sukant   pts/tb       Fri Apr 26 20:59 - 21:00  (00:00)&lt;BR /&gt;sukant   pts/tb       Fri Apr 26 20:59 - 20:59  (00:00)&lt;BR /&gt;sukant   pts/tb       Wed Apr 24 15:08 - 15:09  (00:00)&lt;BR /&gt;sukant   pts/tb       Wed Apr 24 12:25 - 12:25  (00:00)&lt;BR /&gt;&lt;BR /&gt;wtmp begins Mon Apr 22 14:04&lt;BR /&gt;&lt;BR /&gt;Just my two cents.&lt;BR /&gt;-Sukant</description>
      <pubDate>Fri, 03 May 2002 06:11:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-info/m-p/2716093#M907597</guid>
      <dc:creator>Sukant Naik</dc:creator>
      <dc:date>2002-05-03T06:11:09Z</dc:date>
    </item>
    <item>
      <title>Re: user info</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-info/m-p/2716094#M907598</link>
      <description>Hi John,&lt;BR /&gt;&lt;BR /&gt;no general way, but you can check out this very easy with the following command:&lt;BR /&gt;&lt;BR /&gt;cat /etc/passwd | wc -l&lt;BR /&gt;&lt;BR /&gt;output is the number of lines in /etc/passwd, for each user account one line. When you do this command next time, and the number increased, new accounts where configured.&lt;BR /&gt;&lt;BR /&gt;Allways stay on the bright side of life!&lt;BR /&gt;&lt;BR /&gt;Peter</description>
      <pubDate>Fri, 03 May 2002 06:24:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-info/m-p/2716094#M907598</guid>
      <dc:creator>Peter Kloetgen</dc:creator>
      <dc:date>2002-05-03T06:24:43Z</dc:date>
    </item>
    <item>
      <title>Re: user info</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-info/m-p/2716095#M907599</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;If this is a trusted system, check the timestamp of the TCB profile e.g. &lt;BR /&gt;&lt;BR /&gt;# ll /tcb/files/auth/s/steven&lt;BR /&gt;&lt;BR /&gt;While a home directory is optional during account creation, the created TCB profile is always created during account creation.&lt;BR /&gt;&lt;BR /&gt;Hope this helps. Regards.&lt;BR /&gt;&lt;BR /&gt;Steven Sim Kok Leong</description>
      <pubDate>Fri, 03 May 2002 06:37:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-info/m-p/2716095#M907599</guid>
      <dc:creator>Steven Sim Kok Leong</dc:creator>
      <dc:date>2002-05-03T06:37:51Z</dc:date>
    </item>
    <item>
      <title>Re: user info</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-info/m-p/2716096#M907600</link>
      <description>Hi John, Steven,&lt;BR /&gt;&lt;BR /&gt;Steven:&lt;BR /&gt;Unfortunately, you're not right. The timestamp of the TCB profile always is changed when you login. That's because&lt;BR /&gt;of the fields 'u_succhg' and 'u_unsuclog' that are&lt;BR /&gt;updated at each login (successful or unsuccessful).&lt;BR /&gt;&lt;BR /&gt;Even using 'll -c' you obviously get not the time of the inode creation.&lt;BR /&gt;&lt;BR /&gt;So in my opinion, too, there's no way to really get the&lt;BR /&gt;time of account creation (beside the docs of the other&lt;BR /&gt;authors).</description>
      <pubDate>Fri, 03 May 2002 08:09:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-info/m-p/2716096#M907600</guid>
      <dc:creator>Thomas Schler_1</dc:creator>
      <dc:date>2002-05-03T08:09:16Z</dc:date>
    </item>
    <item>
      <title>Re: user info</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-info/m-p/2716097#M907601</link>
      <description>Hi Thomas,&lt;BR /&gt;&lt;BR /&gt;Yes, you are right. Thanks for pointing out the mistake.&lt;BR /&gt;&lt;BR /&gt;Regards.&lt;BR /&gt;&lt;BR /&gt;Steven Sim Kok Leong</description>
      <pubDate>Fri, 03 May 2002 08:38:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-info/m-p/2716097#M907601</guid>
      <dc:creator>Steven Sim Kok Leong</dc:creator>
      <dc:date>2002-05-03T08:38:45Z</dc:date>
    </item>
    <item>
      <title>Re: user info</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-info/m-p/2716098#M907602</link>
      <description>John,&lt;BR /&gt;&lt;BR /&gt;How about putting a file (let's call it $home/.000file) in their $HOME as part of the create process and make it non-writable, non readable, invisible (000)?  If you use sam to add users, you can customize it to add this step. Then you could always check the date on $home/.000file.&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Fri, 03 May 2002 09:37:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-info/m-p/2716098#M907602</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2002-05-03T09:37:04Z</dc:date>
    </item>
    <item>
      <title>Re: user info</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-info/m-p/2716099#M907603</link>
      <description>Good idea Pete, but any file in a users home directory isn't going to be un-touchable by that user - they own the directory itself, and so have permission to remove files in that directory.&lt;BR /&gt;&lt;BR /&gt;They can't read the file, or write to it, but they can delete it...&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Duncan&lt;BR /&gt;</description>
      <pubDate>Fri, 03 May 2002 09:47:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-info/m-p/2716099#M907603</guid>
      <dc:creator>Duncan Edmonstone</dc:creator>
      <dc:date>2002-05-03T09:47:15Z</dc:date>
    </item>
    <item>
      <title>Re: user info</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-info/m-p/2716100#M907604</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;I reckon the closest is the wtmp/utmp files providing they have not been purged.&lt;BR /&gt;&lt;BR /&gt;For the future I would create a file using the following command&lt;BR /&gt;&lt;BR /&gt;touch /etc/skel/.creation&lt;BR /&gt;&lt;BR /&gt;now all new user accounts creted will have a file in the home directory with the cretaion date.</description>
      <pubDate>Fri, 03 May 2002 10:01:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-info/m-p/2716100#M907604</guid>
      <dc:creator>John Carr_2</dc:creator>
      <dc:date>2002-05-03T10:01:14Z</dc:date>
    </item>
    <item>
      <title>Re: user info</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-info/m-p/2716101#M907605</link>
      <description>Good point Duncan.  However, if root owned it . . .&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Fri, 03 May 2002 10:41:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-info/m-p/2716101#M907605</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2002-05-03T10:41:36Z</dc:date>
    </item>
    <item>
      <title>Re: user info</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-info/m-p/2716102#M907606</link>
      <description>Well slap me silly, they can still remove it !!  Thanks, Duncan, for teaching me something I should have known.  &lt;BR /&gt;&lt;BR /&gt;I still think that this approach will work 99% of the time.  Most users wouldn't even see the file let alone remove it.&lt;BR /&gt;&lt;BR /&gt;Oh well.&lt;BR /&gt;Pete</description>
      <pubDate>Fri, 03 May 2002 10:46:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-info/m-p/2716102#M907606</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2002-05-03T10:46:06Z</dc:date>
    </item>
    <item>
      <title>Re: user info</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-info/m-p/2716103#M907607</link>
      <description>look at the logins command.&lt;BR /&gt;&lt;BR /&gt;it provides everything you need.</description>
      <pubDate>Mon, 25 Aug 2003 15:18:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-info/m-p/2716103#M907607</guid>
      <dc:creator>Donny Jekels</dc:creator>
      <dc:date>2003-08-25T15:18:21Z</dc:date>
    </item>
  </channel>
</rss>

