<?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 Extending SYSUAF.DAT in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/extending-sysuaf-dat/m-p/5059723#M85309</link>
    <description>Once again a security project has come up where I wish that the SYSUAF.DAT file had at least one (if not a few) fields that were reserved for customer use, so that I could add at least some additional info.&lt;BR /&gt;&lt;BR /&gt;(I already use the Account Expiration field - which I understand no HP pgm uses - to store the account creatation date &amp;amp; time.  Our security people use a script I wrote to create accounts and I plug that field with date &amp;amp; time + 1000 years).&lt;BR /&gt;&lt;BR /&gt;Does anyone know of any other unused fields I might use or have any other suggestions (obviously I could create my own file w/additional info, but this could lead to possible synchronization problems.  Besides, I only want to add some short, coded, text info.)&lt;BR /&gt;&lt;BR /&gt;BTW - where is the SYSUAF.DAT record structure documented?&lt;BR /&gt;&lt;BR /&gt;Thanks all</description>
    <pubDate>Tue, 24 Jul 2007 12:50:30 GMT</pubDate>
    <dc:creator>Jack Trachtman</dc:creator>
    <dc:date>2007-07-24T12:50:30Z</dc:date>
    <item>
      <title>Extending SYSUAF.DAT</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/extending-sysuaf-dat/m-p/5059723#M85309</link>
      <description>Once again a security project has come up where I wish that the SYSUAF.DAT file had at least one (if not a few) fields that were reserved for customer use, so that I could add at least some additional info.&lt;BR /&gt;&lt;BR /&gt;(I already use the Account Expiration field - which I understand no HP pgm uses - to store the account creatation date &amp;amp; time.  Our security people use a script I wrote to create accounts and I plug that field with date &amp;amp; time + 1000 years).&lt;BR /&gt;&lt;BR /&gt;Does anyone know of any other unused fields I might use or have any other suggestions (obviously I could create my own file w/additional info, but this could lead to possible synchronization problems.  Besides, I only want to add some short, coded, text info.)&lt;BR /&gt;&lt;BR /&gt;BTW - where is the SYSUAF.DAT record structure documented?&lt;BR /&gt;&lt;BR /&gt;Thanks all</description>
      <pubDate>Tue, 24 Jul 2007 12:50:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/extending-sysuaf-dat/m-p/5059723#M85309</guid>
      <dc:creator>Jack Trachtman</dc:creator>
      <dc:date>2007-07-24T12:50:30Z</dc:date>
    </item>
    <item>
      <title>Re: Extending SYSUAF.DAT</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/extending-sysuaf-dat/m-p/5059724#M85310</link>
      <description>&lt;!--!*#--&gt;I know nothing, but I do see&lt;BR /&gt;&lt;BR /&gt;SYS$COMMON:[DECC$LIB.REFERENCE.SYS$STARLET_C]UAF070DEF.H&lt;BR /&gt;&lt;BR /&gt;which says things like&lt;BR /&gt;&lt;BR /&gt;/*++                                                                        */&lt;BR /&gt;/* User authorization file format                                           */&lt;BR /&gt;/* Note: With the exception of the username and account name,               */&lt;BR /&gt;/* all strings are blank padded counted strings. Username and               */&lt;BR /&gt;/* account name are uncounted, blank padded.                                */&lt;BR /&gt;/*--                                                                        */&lt;BR /&gt;</description>
      <pubDate>Tue, 24 Jul 2007 13:19:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/extending-sysuaf-dat/m-p/5059724#M85310</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2007-07-24T13:19:06Z</dc:date>
    </item>
    <item>
      <title>Re: Extending SYSUAF.DAT</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/extending-sysuaf-dat/m-p/5059725#M85311</link>
      <description>Jack,&lt;BR /&gt;&lt;BR /&gt;You will find (the C version) of UAFDEF in SYS$LIB_C.OLB. There appears to be a "user-extensible area", but I have not researched it to verify if it is indeed usable.&lt;BR /&gt;&lt;BR /&gt;I would seriously consider using an auxiliary file indexed by the UIC rights identifier. In a well managed system, it should be unique to a user, and you will avoid running into a problem when another utility has a divergent interpretation of a "reserved to user" field.&lt;BR /&gt;&lt;BR /&gt;Please let me know if I have been unclear or can be of additional assistance.&lt;BR /&gt;&lt;BR /&gt;- Bob Gezelter, &lt;A href="http://www.rlgsc.com" target="_blank"&gt;http://www.rlgsc.com&lt;/A&gt;</description>
      <pubDate>Tue, 24 Jul 2007 13:20:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/extending-sysuaf-dat/m-p/5059725#M85311</guid>
      <dc:creator>Robert Gezelter</dc:creator>
      <dc:date>2007-07-24T13:20:32Z</dc:date>
    </item>
    <item>
      <title>Re: Extending SYSUAF.DAT</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/extending-sysuaf-dat/m-p/5059726#M85312</link>
      <description>There's a user-accessible free-form field in the SYSUAF file, and there's a way at it via $getuai and $setuai, or via direct RMS access.  (It's over in the UAF*DEF module in SYS$STARLET_C.TLB, see UAF070$W_USRDATOFF, and see the UAI$_USER_DATA itemcode, for instance.)&lt;BR /&gt;&lt;BR /&gt;I'd also tend to stay clear of SYSUAF, and usually prefer to use my own data file.  This for reasons of flexibility, and to avoid collisions with other products using the user field and/or with other applications that access the records in SYSUAF.  (It wasn't a very good design in various regards, and SYSUAF itself is no gem.)&lt;BR /&gt;&lt;BR /&gt;As for synchronization of the parallel data with the live SYSUAF file, I had a pretty simple scheme that scanned SYSUAF nightly, and brought it back into synchronization with the parallel file.  This was easily sufficient for my needs.  If closer synchronization is required, enable and sniff the SYSUAF audit traffic for the messages of interest.&lt;BR /&gt;&lt;BR /&gt;Stephen Hoffman&lt;BR /&gt;HoffmanLabs LLC&lt;BR /&gt;</description>
      <pubDate>Tue, 24 Jul 2007 13:55:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/extending-sysuaf-dat/m-p/5059726#M85312</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2007-07-24T13:55:56Z</dc:date>
    </item>
    <item>
      <title>Re: Extending SYSUAF.DAT</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/extending-sysuaf-dat/m-p/5059727#M85313</link>
      <description>&lt;!--!*#--&gt;&amp;gt; You will find (the C version) of UAFDEF in&lt;BR /&gt;&amp;gt; SYS$LIB_C.OLB.&lt;BR /&gt;&lt;BR /&gt;That was ".TLB", right?  In SYS$LIBRARY?&lt;BR /&gt;&lt;BR /&gt;The newer stuff (module UAF070DEF) is&lt;BR /&gt;in SYS$LIBRARY:SYS$STARLET_C.TLB (or the&lt;BR /&gt;derived ".h" file cited above).&lt;BR /&gt;&lt;BR /&gt;alp $ cc /version&lt;BR /&gt;HP C V7.1-015 on OpenVMS Alpha V7.3-2&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;There seem to be some differences in the fine&lt;BR /&gt;print, but both have members like:&lt;BR /&gt;&lt;BR /&gt;    __struct  {                         /* default security class           */&lt;BR /&gt;        char uaf070$b_fill_6 [20];&lt;BR /&gt;        } uaf070$r_def_class;&lt;BR /&gt;    char uaf070$$$_fill_99 [44];        /* spare space                      */&lt;BR /&gt;    char uaf070$$$_fill_100 [768];      /* user-extensible area             */&lt;BR /&gt;&lt;BR /&gt;for whatever that's worth.</description>
      <pubDate>Tue, 24 Jul 2007 13:59:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/extending-sysuaf-dat/m-p/5059727#M85313</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2007-07-24T13:59:59Z</dc:date>
    </item>
    <item>
      <title>Re: Extending SYSUAF.DAT</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/extending-sysuaf-dat/m-p/5059728#M85314</link>
      <description>UAI$_USER_DATA is there just for this reason. It works, it is supported. I have seen minor issues with some data records being improperly formatted, but that's easily remedied.&lt;BR /&gt;The biggest risk with UAI$_USER_DATA is that it is a free for all space. Some other application on your system might think it can own it outright. You can avoid that with a parallel (indexed) file, but that's more work for the system, and creates a (minor) synchronization challenge.&lt;BR /&gt;&lt;BR /&gt;If you decide to bulk populate UAI$_USER_DATA then please be sure to convert your sysuaf file reasonably soon as the expansion is likely to cause massive bucket splitting.&lt;BR /&gt;&lt;BR /&gt;Also, check out some prior c.o.v articles. You can find them readily with &lt;A href="http://groups.google.com/group/comp.os.vms/search?group=comp.os.vms&amp;amp;q=hein+UAI$_USER_DATA" target="_blank"&gt;http://groups.google.com/group/comp.os.vms/search?group=comp.os.vms&amp;amp;q=hein+UAI$_USER_DATA&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;hth,&lt;BR /&gt;Hein.&lt;BR /&gt;</description>
      <pubDate>Tue, 24 Jul 2007 17:36:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/extending-sysuaf-dat/m-p/5059728#M85314</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2007-07-24T17:36:01Z</dc:date>
    </item>
    <item>
      <title>Re: Extending SYSUAF.DAT</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/extending-sysuaf-dat/m-p/5059729#M85315</link>
      <description>Life can be so cruel sometimes...&lt;BR /&gt;&lt;BR /&gt;As Hoff pointed out, the $setuai refers to a user accessible field of 255 characters!  I've been looking for this for years! But - it's not supported.  Here's the doc from the system services manual:&lt;BR /&gt;&lt;BR /&gt;UAI$_USER_DATA&lt;BR /&gt;Sets up to 255 bytes of information in the user data area of the system user&lt;BR /&gt;authorization file (SYSUAF). This is the supported method for modifying the&lt;BR /&gt;user data area of the SYSUAF. HP no longer supports direct user modification of&lt;BR /&gt;the SYSUAF.&lt;BR /&gt;&lt;BR /&gt;thanks all</description>
      <pubDate>Tue, 24 Jul 2007 18:11:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/extending-sysuaf-dat/m-p/5059729#M85315</guid>
      <dc:creator>Jack Trachtman</dc:creator>
      <dc:date>2007-07-24T18:11:40Z</dc:date>
    </item>
    <item>
      <title>Re: Extending SYSUAF.DAT</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/extending-sysuaf-dat/m-p/5059730#M85316</link>
      <description>&amp;gt; HP no longer supports direct user&lt;BR /&gt;&amp;gt; modification of the SYSUAF.&lt;BR /&gt;&lt;BR /&gt;Which I would interpret as prohibiting direct&lt;BR /&gt;UAF file I/O, and encouraging the use of "the&lt;BR /&gt;supported method" being described.&lt;BR /&gt;&lt;BR /&gt;And I thought that _I_ was a pessimist.</description>
      <pubDate>Tue, 24 Jul 2007 18:40:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/extending-sysuaf-dat/m-p/5059730#M85316</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2007-07-24T18:40:21Z</dc:date>
    </item>
    <item>
      <title>Re: Extending SYSUAF.DAT</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/extending-sysuaf-dat/m-p/5059731#M85317</link>
      <description>UAI$_USER_DATA via $getuai and $setuai is supported.&lt;BR /&gt;&lt;BR /&gt;Direct RMS modification to SYSUAF isn't.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 24 Jul 2007 20:18:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/extending-sysuaf-dat/m-p/5059731#M85317</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2007-07-24T20:18:13Z</dc:date>
    </item>
  </channel>
</rss>

