<?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: audit logins for a particular user in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/audit-logins-for-a-particular-user/m-p/4713902#M100759</link>
    <description>&amp;gt;&amp;gt; thanks - &lt;BR /&gt;i think using the users login.com file will be the easiest route. Will look into this&lt;BR /&gt;&lt;BR /&gt;Hmmm, &lt;BR /&gt;&lt;BR /&gt;I guess a simple ACCOUNTING report does not give teh righ access port information?&lt;BR /&gt;&lt;BR /&gt;If you need a specific log then I would NOT put it in the normal use LOGIN.COM. &lt;BR /&gt;Either put this(*) in SYLOGIN, in a IF "xxx".EQS.F$GETJPI("","USERNAME")&lt;BR /&gt;&lt;BR /&gt;or...&lt;BR /&gt;&lt;BR /&gt;How about modifying the user lgicmd in authorize and point it to a special loginLOG.com which does this(*) logging and then chains to the real login.com&lt;BR /&gt;&lt;BR /&gt;Hein&lt;BR /&gt;&lt;BR /&gt;(*) this = &lt;BR /&gt;&lt;BR /&gt;$ OPEN/APPEN log system_directory:world_writable.log&lt;BR /&gt;$ WRITE log write sys$output F$CVTIME(""), " ",f$getjpi("","USERNAME"), " ",f$getdvi("SYS$COMMAND","TT_ACCPORNAM")&lt;BR /&gt;$ CLOSE log&lt;BR /&gt;&lt;BR /&gt;Better still would be process creating a permanent mailbox with a system logical name. Loop reading the mailbox writing to the log which now no longer needs world write access.&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 16 Nov 2010 16:48:23 GMT</pubDate>
    <dc:creator>Hein van den Heuvel</dc:creator>
    <dc:date>2010-11-16T16:48:23Z</dc:date>
    <item>
      <title>audit logins for a particular user</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/audit-logins-for-a-particular-user/m-p/4713885#M100742</link>
      <description>Hi everyone.&lt;BR /&gt;i would like to audit logins for one particular user.&lt;BR /&gt;&lt;BR /&gt;At present we audit all logfailures and breakins.&lt;BR /&gt;But I'm not sure how to set up auditing the logins for just one user.&lt;BR /&gt;&lt;BR /&gt;Any advice is greatly appreciated</description>
      <pubDate>Tue, 16 Nov 2010 11:31:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/audit-logins-for-a-particular-user/m-p/4713885#M100742</guid>
      <dc:creator>TMcB</dc:creator>
      <dc:date>2010-11-16T11:31:37Z</dc:date>
    </item>
    <item>
      <title>Re: audit logins for a particular user</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/audit-logins-for-a-particular-user/m-p/4713886#M100743</link>
      <description>You need to make sure that your audits are properly enabled. &lt;BR /&gt;&lt;BR /&gt;Do a $show audit and post the details here. &lt;BR /&gt;&lt;BR /&gt;Have a look at the ANAL/AUDIT utility - This will allow you to interrogate the security audit journal file. &lt;BR /&gt;&lt;BR /&gt;E.g. $ ANAL/AUDIT/FULL/SEL=USER=&lt;USERNAME&gt; -&lt;JOURNAL-FILE-LOCATION&gt;&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Craig&lt;/JOURNAL-FILE-LOCATION&gt;&lt;/USERNAME&gt;</description>
      <pubDate>Tue, 16 Nov 2010 12:31:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/audit-logins-for-a-particular-user/m-p/4713886#M100743</guid>
      <dc:creator>Craig A</dc:creator>
      <dc:date>2010-11-16T12:31:53Z</dc:date>
    </item>
    <item>
      <title>Re: audit logins for a particular user</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/audit-logins-for-a-particular-user/m-p/4713887#M100744</link>
      <description>Hi there.&lt;BR /&gt;Thanks for getting back to me.&lt;BR /&gt;&lt;BR /&gt;current settings are :&lt;BR /&gt;System security alarms currently enabled for:&lt;BR /&gt;  ACL&lt;BR /&gt;  Authorization&lt;BR /&gt;  Audit:         illformed&lt;BR /&gt;  Breakin:       dialup,local,remote,network,detached&lt;BR /&gt;  Logfailure:    batch,dialup,local,remote,network,subprocess,detached&lt;BR /&gt;&lt;BR /&gt;System security audits currently enabled for:&lt;BR /&gt;  ACL&lt;BR /&gt;  Authorization&lt;BR /&gt;  Audit:         illformed&lt;BR /&gt;  Breakin:       dialup,local,remote,network,detached&lt;BR /&gt;  Logfailure:    batch,dialup,local,remote,network,subprocess,detached&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I'm happy enough with using the ANALYZE/AUDIT commands for single users, but at present we dont audit successfull logins. &lt;BR /&gt;&lt;BR /&gt;I know to set it up for all users would be :&lt;BR /&gt;set aud /audit /enable=( login=all), &lt;BR /&gt;but I dont want to record successful logins for all users - just for one particular user.&lt;BR /&gt;&lt;BR /&gt;Cheers</description>
      <pubDate>Tue, 16 Nov 2010 12:36:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/audit-logins-for-a-particular-user/m-p/4713887#M100744</guid>
      <dc:creator>TMcB</dc:creator>
      <dc:date>2010-11-16T12:36:27Z</dc:date>
    </item>
    <item>
      <title>Re: audit logins for a particular user</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/audit-logins-for-a-particular-user/m-p/4713888#M100745</link>
      <description>You can set an audit flag for each individual user but this will generate a LOT of audits for a typical user:&lt;BR /&gt;&lt;BR /&gt;$ MC AUTHORIZE MOD &lt;USER&gt; /FLAG=AUDIT&lt;BR /&gt;&lt;BR /&gt;What info do you want to capture regarding the login session?&lt;BR /&gt;&lt;BR /&gt;Can you get it from ACCOUNTING instead?&lt;BR /&gt;&lt;BR /&gt;Craig&lt;/USER&gt;</description>
      <pubDate>Tue, 16 Nov 2010 12:43:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/audit-logins-for-a-particular-user/m-p/4713888#M100745</guid>
      <dc:creator>Craig A</dc:creator>
      <dc:date>2010-11-16T12:43:31Z</dc:date>
    </item>
    <item>
      <title>Re: audit logins for a particular user</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/audit-logins-for-a-particular-user/m-p/4713889#M100746</link>
      <description>I have used a specific login procedure for an individual account to capture info with the final statment a reference to the standard login procedure.  It all depends on what information you are trying to capture.  If you can describe in more detail, what you with to log, we can provide some methods.&lt;BR /&gt;&lt;BR /&gt;Dan</description>
      <pubDate>Tue, 16 Nov 2010 12:46:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/audit-logins-for-a-particular-user/m-p/4713889#M100746</guid>
      <dc:creator>abrsvc</dc:creator>
      <dc:date>2010-11-16T12:46:08Z</dc:date>
    </item>
    <item>
      <title>Re: audit logins for a particular user</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/audit-logins-for-a-particular-user/m-p/4713890#M100747</link>
      <description>Hi there&lt;BR /&gt;I just want to record the dates and times and from where the user logged in.</description>
      <pubDate>Tue, 16 Nov 2010 12:46:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/audit-logins-for-a-particular-user/m-p/4713890#M100747</guid>
      <dc:creator>TMcB</dc:creator>
      <dc:date>2010-11-16T12:46:37Z</dc:date>
    </item>
    <item>
      <title>Re: audit logins for a particular user</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/audit-logins-for-a-particular-user/m-p/4713891#M100748</link>
      <description>You could add something in SYLOGIN.COM (maybe checking whether the caller holds an identifier - e.g. AUDIT$USER) &lt;BR /&gt;&lt;BR /&gt;and log info lik:&lt;BR /&gt;&lt;BR /&gt;f$getdvi("tt",""tt_accpornam")&lt;BR /&gt;&lt;BR /&gt;or a $show term&lt;BR /&gt;&lt;BR /&gt;That coupled with info from ACCOUNTING should get you what you want.&lt;BR /&gt;&lt;BR /&gt;Craig</description>
      <pubDate>Tue, 16 Nov 2010 12:55:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/audit-logins-for-a-particular-user/m-p/4713891#M100748</guid>
      <dc:creator>Craig A</dc:creator>
      <dc:date>2010-11-16T12:55:12Z</dc:date>
    </item>
    <item>
      <title>Re: audit logins for a particular user</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/audit-logins-for-a-particular-user/m-p/4713892#M100749</link>
      <description>TMcB,&lt;BR /&gt;&lt;BR /&gt;this may or may not be usefull to you, but many moons ago we had a need to occasionally allow remote service access to our system by a remote package supplier.&lt;BR /&gt;&lt;BR /&gt;We DID need to know if they ever touched sensitive info they had no business with.&lt;BR /&gt;&lt;BR /&gt;We provided a captive login to an account, which only did a &lt;BR /&gt;$ SET HOST 0/LOG=&lt;FILENAME with="" timestamp=""&gt;&lt;BR /&gt;with embedded username/password&lt;BR /&gt;to another account on another device.&lt;BR /&gt;The "entry" account directory was pretty hard shielded and tripwired for any access by the "work" account.&lt;BR /&gt;&lt;BR /&gt;The entry account was normally disusered, and only activited when needed, so we knew when a review was desired.&lt;BR /&gt;&lt;BR /&gt;This may or may not be what you need, but it worked for us.&lt;BR /&gt;&lt;BR /&gt;hth&lt;BR /&gt;&lt;BR /&gt;Proost.&lt;BR /&gt;&lt;BR /&gt;Have one on me.&lt;BR /&gt;&lt;BR /&gt;jpe&lt;/FILENAME&gt;</description>
      <pubDate>Tue, 16 Nov 2010 13:23:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/audit-logins-for-a-particular-user/m-p/4713892#M100749</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2010-11-16T13:23:45Z</dc:date>
    </item>
    <item>
      <title>Re: audit logins for a particular user</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/audit-logins-for-a-particular-user/m-p/4713893#M100750</link>
      <description>thanks - &lt;BR /&gt;i think using the users login.com file will be the easiest route. Will look into this</description>
      <pubDate>Tue, 16 Nov 2010 13:51:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/audit-logins-for-a-particular-user/m-p/4713893#M100750</guid>
      <dc:creator>TMcB</dc:creator>
      <dc:date>2010-11-16T13:51:53Z</dc:date>
    </item>
    <item>
      <title>Re: audit logins for a particular user</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/audit-logins-for-a-particular-user/m-p/4713894#M100751</link>
      <description>That MIGHT work but also bear in mind that a user will typically have full access to their LOGIN.COM so could easily circumvent anything you place in it for auditing purposes. &lt;BR /&gt;&lt;BR /&gt;Craig</description>
      <pubDate>Tue, 16 Nov 2010 14:04:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/audit-logins-for-a-particular-user/m-p/4713894#M100751</guid>
      <dc:creator>Craig A</dc:creator>
      <dc:date>2010-11-16T14:04:28Z</dc:date>
    </item>
    <item>
      <title>Re: audit logins for a particular user</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/audit-logins-for-a-particular-user/m-p/4713895#M100752</link>
      <description>If there is concern about a user modifying their own login procedure, than I would add a line in the system wide procedure for that specific user.  The F$USER lexical will return the UIC.  Usse that to filter the logging for your specific user in the common login file.&lt;BR /&gt;&lt;BR /&gt;Dan</description>
      <pubDate>Tue, 16 Nov 2010 14:06:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/audit-logins-for-a-particular-user/m-p/4713895#M100752</guid>
      <dc:creator>abrsvc</dc:creator>
      <dc:date>2010-11-16T14:06:42Z</dc:date>
    </item>
    <item>
      <title>Re: audit logins for a particular user</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/audit-logins-for-a-particular-user/m-p/4713896#M100753</link>
      <description>Dan&lt;BR /&gt;&lt;BR /&gt;Depending on how Change is managed in an environment will determine whether to go for a user-specific solution (i.e. username of UIC) or a more generic solution.&lt;BR /&gt;&lt;BR /&gt;Personally, it is as much hassle to do the generica solution as it is to do the specific, so that would always be my route. &lt;BR /&gt;&lt;BR /&gt;Craig</description>
      <pubDate>Tue, 16 Nov 2010 14:29:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/audit-logins-for-a-particular-user/m-p/4713896#M100753</guid>
      <dc:creator>Craig A</dc:creator>
      <dc:date>2010-11-16T14:29:07Z</dc:date>
    </item>
    <item>
      <title>Re: audit logins for a particular user</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/audit-logins-for-a-particular-user/m-p/4713897#M100754</link>
      <description>Craig,&lt;BR /&gt;&lt;BR /&gt;Agreed, all is dependent upon the environment.  Another possibility that I have used is to change the LGICMD field in the uaf to point to a "logging" procedure that chains to the standard common login procedure.  This makes changing logging easy.  All that is needed is to change the UAF entry to point to the logging procedure.  I have used this technique in the past as well.  The bottom line is that you need to determine the security level needed as well as what flexibility you need to accomplish your goal.&lt;BR /&gt;&lt;BR /&gt;Dan</description>
      <pubDate>Tue, 16 Nov 2010 14:43:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/audit-logins-for-a-particular-user/m-p/4713897#M100754</guid>
      <dc:creator>abrsvc</dc:creator>
      <dc:date>2010-11-16T14:43:10Z</dc:date>
    </item>
    <item>
      <title>Re: audit logins for a particular user</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/audit-logins-for-a-particular-user/m-p/4713898#M100755</link>
      <description>&amp;gt;TMcB:&lt;BR /&gt;&amp;gt;At present we audit all logfailures and breakins.&lt;BR /&gt;&lt;BR /&gt;Since the workarounds in sylogin or /flag=defcli are all rather clumpsy, &lt;BR /&gt;could You explain why enabling audit for LOGIN (dialup,local,remote,network only) is not an option for Your system?</description>
      <pubDate>Tue, 16 Nov 2010 15:05:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/audit-logins-for-a-particular-user/m-p/4713898#M100755</guid>
      <dc:creator>Joseph Huber_1</dc:creator>
      <dc:date>2010-11-16T15:05:13Z</dc:date>
    </item>
    <item>
      <title>Re: audit logins for a particular user</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/audit-logins-for-a-particular-user/m-p/4713899#M100756</link>
      <description>Craih,&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;That MIGHT work but also bear in mind that a user will typically have full access to their LOGIN.COM so could easily circumvent anything you place in it for auditing purposes.&lt;BR /&gt;&amp;lt;&amp;lt;&amp;lt;&lt;BR /&gt;&lt;BR /&gt;THAT is why the second user is completely distinct from the "tranfer" user!&lt;BR /&gt;&lt;BR /&gt;The tranfer user has its own GROUP UIC, and the directory with SET HOST 0 /LOG in LOGIN.COM is as tight as can be!&lt;BR /&gt;&lt;BR /&gt;TMcB:&lt;BR /&gt;Success!&lt;BR /&gt;&lt;BR /&gt;Proost.&lt;BR /&gt;&lt;BR /&gt;Have one on me.&lt;BR /&gt;&lt;BR /&gt;jpe</description>
      <pubDate>Tue, 16 Nov 2010 15:33:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/audit-logins-for-a-particular-user/m-p/4713899#M100756</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2010-11-16T15:33:43Z</dc:date>
    </item>
    <item>
      <title>Re: audit logins for a particular user</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/audit-logins-for-a-particular-user/m-p/4713900#M100757</link>
      <description>Hi &lt;BR /&gt;I didnt want to enable all logins as we have thousands of users and i thought I had read previous warnings that it would be too much to log ALL logins for every user. &lt;BR /&gt;&lt;BR /&gt;If this is not the case, I could just turn on auditing for all successfull logins.&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Tue, 16 Nov 2010 16:28:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/audit-logins-for-a-particular-user/m-p/4713900#M100757</guid>
      <dc:creator>TMcB</dc:creator>
      <dc:date>2010-11-16T16:28:59Z</dc:date>
    </item>
    <item>
      <title>Re: audit logins for a particular user</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/audit-logins-for-a-particular-user/m-p/4713901#M100758</link>
      <description>Jan&lt;BR /&gt;&lt;BR /&gt;I've never been a fan of this sort of auditing as it is so easy to circumvent.&lt;BR /&gt;&lt;BR /&gt;Craig</description>
      <pubDate>Tue, 16 Nov 2010 16:29:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/audit-logins-for-a-particular-user/m-p/4713901#M100758</guid>
      <dc:creator>Craig A</dc:creator>
      <dc:date>2010-11-16T16:29:45Z</dc:date>
    </item>
    <item>
      <title>Re: audit logins for a particular user</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/audit-logins-for-a-particular-user/m-p/4713902#M100759</link>
      <description>&amp;gt;&amp;gt; thanks - &lt;BR /&gt;i think using the users login.com file will be the easiest route. Will look into this&lt;BR /&gt;&lt;BR /&gt;Hmmm, &lt;BR /&gt;&lt;BR /&gt;I guess a simple ACCOUNTING report does not give teh righ access port information?&lt;BR /&gt;&lt;BR /&gt;If you need a specific log then I would NOT put it in the normal use LOGIN.COM. &lt;BR /&gt;Either put this(*) in SYLOGIN, in a IF "xxx".EQS.F$GETJPI("","USERNAME")&lt;BR /&gt;&lt;BR /&gt;or...&lt;BR /&gt;&lt;BR /&gt;How about modifying the user lgicmd in authorize and point it to a special loginLOG.com which does this(*) logging and then chains to the real login.com&lt;BR /&gt;&lt;BR /&gt;Hein&lt;BR /&gt;&lt;BR /&gt;(*) this = &lt;BR /&gt;&lt;BR /&gt;$ OPEN/APPEN log system_directory:world_writable.log&lt;BR /&gt;$ WRITE log write sys$output F$CVTIME(""), " ",f$getjpi("","USERNAME"), " ",f$getdvi("SYS$COMMAND","TT_ACCPORNAM")&lt;BR /&gt;$ CLOSE log&lt;BR /&gt;&lt;BR /&gt;Better still would be process creating a permanent mailbox with a system logical name. Loop reading the mailbox writing to the log which now no longer needs world write access.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 16 Nov 2010 16:48:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/audit-logins-for-a-particular-user/m-p/4713902#M100759</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2010-11-16T16:48:23Z</dc:date>
    </item>
    <item>
      <title>Re: audit logins for a particular user</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/audit-logins-for-a-particular-user/m-p/4713903#M100760</link>
      <description>&amp;gt;&amp;gt;warnings that it would be too much to log ALL&lt;BR /&gt;&lt;BR /&gt;It of course depends (disk-space , do all the thousends user login/logout very frequently ?).&lt;BR /&gt;I think if the LOGIN audit is restricted to &lt;BR /&gt;/LOGIN=(DIALUP,LOCAL,REMOTE)&lt;BR /&gt;then all interactive logins are catched (maybe NETWORK for SSH logins ?). &lt;BR /&gt;The vast amount could be detached,batch,subprocess,server, and those would make grow the audit file, not the interactive ones, they occur on a "human" time scale.</description>
      <pubDate>Tue, 16 Nov 2010 17:49:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/audit-logins-for-a-particular-user/m-p/4713903#M100760</guid>
      <dc:creator>Joseph Huber_1</dc:creator>
      <dc:date>2010-11-16T17:49:01Z</dc:date>
    </item>
    <item>
      <title>Re: audit logins for a particular user</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/audit-logins-for-a-particular-user/m-p/4713904#M100761</link>
      <description>Apropos audit file disk space usage:&lt;BR /&gt;How about rotating (set audit/server=new_log),&lt;BR /&gt;then after evaluation archive the old file into a ZIP archive:&lt;BR /&gt;audit log files compress with an avarage ratio of ~90%, so the increase for login auditing is easily compensated.&lt;BR /&gt;</description>
      <pubDate>Tue, 16 Nov 2010 18:17:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/audit-logins-for-a-particular-user/m-p/4713904#M100761</guid>
      <dc:creator>Joseph Huber_1</dc:creator>
      <dc:date>2010-11-16T18:17:19Z</dc:date>
    </item>
  </channel>
</rss>

