- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: Extending SYSUAF.DAT
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2007 05:50 AM
тАО07-24-2007 05:50 AM
(I already use the Account Expiration field - which I understand no HP pgm uses - to store the account creatation date & time. Our security people use a script I wrote to create accounts and I plug that field with date & time + 1000 years).
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.)
BTW - where is the SYSUAF.DAT record structure documented?
Thanks all
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2007 06:19 AM
тАО07-24-2007 06:19 AM
Re: Extending SYSUAF.DAT
SYS$COMMON:[DECC$LIB.REFERENCE.SYS$STARLET_C]UAF070DEF.H
which says things like
/*++ */
/* User authorization file format */
/* Note: With the exception of the username and account name, */
/* all strings are blank padded counted strings. Username and */
/* account name are uncounted, blank padded. */
/*-- */
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2007 06:20 AM
тАО07-24-2007 06:20 AM
Re: Extending SYSUAF.DAT
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.
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.
Please let me know if I have been unclear or can be of additional assistance.
- Bob Gezelter, http://www.rlgsc.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2007 06:55 AM
тАО07-24-2007 06:55 AM
SolutionI'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.)
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.
Stephen Hoffman
HoffmanLabs LLC
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2007 06:59 AM
тАО07-24-2007 06:59 AM
Re: Extending SYSUAF.DAT
> SYS$LIB_C.OLB.
That was ".TLB", right? In SYS$LIBRARY?
The newer stuff (module UAF070DEF) is
in SYS$LIBRARY:SYS$STARLET_C.TLB (or the
derived ".h" file cited above).
alp $ cc /version
HP C V7.1-015 on OpenVMS Alpha V7.3-2
There seem to be some differences in the fine
print, but both have members like:
__struct { /* default security class */
char uaf070$b_fill_6 [20];
} uaf070$r_def_class;
char uaf070$$$_fill_99 [44]; /* spare space */
char uaf070$$$_fill_100 [768]; /* user-extensible area */
for whatever that's worth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2007 10:36 AM
тАО07-24-2007 10:36 AM
Re: Extending SYSUAF.DAT
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.
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.
Also, check out some prior c.o.v articles. You can find them readily with http://groups.google.com/group/comp.os.vms/search?group=comp.os.vms&q=hein+UAI$_USER_DATA
hth,
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2007 11:11 AM
тАО07-24-2007 11:11 AM
Re: Extending SYSUAF.DAT
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:
UAI$_USER_DATA
Sets up to 255 bytes of information in the user data area of the system user
authorization file (SYSUAF). This is the supported method for modifying the
user data area of the SYSUAF. HP no longer supports direct user modification of
the SYSUAF.
thanks all
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2007 11:40 AM
тАО07-24-2007 11:40 AM
Re: Extending SYSUAF.DAT
> modification of the SYSUAF.
Which I would interpret as prohibiting direct
UAF file I/O, and encouraging the use of "the
supported method" being described.
And I thought that _I_ was a pessimist.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2007 01:18 PM
тАО07-24-2007 01:18 PM
Re: Extending SYSUAF.DAT
Direct RMS modification to SYSUAF isn't.