HP3000-L Archives

December 2001, Week 4

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"VANCE,JEFF (HP-Cupertino,ex1)" <[log in to unmask]>
Reply To:
VANCE,JEFF (HP-Cupertino,ex1)
Date:
Fri, 28 Dec 2001 12:51:36 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (26 lines)
> I'd like to check if I have any users without a logon-udc, is there an
> "easy" way to do that? or do I have to resort to scanning
> :showcatalog-output and *then* scan udc-files? and, if so, has anyone
> already done that scripting/programming?

So you need a list of all users (even the old ones that are no longer
used) and a list of all UDC files.  You will need to read the UDC files
to make sure there is at least one OPTION LOGON UDC present.  I think
you can use AIFs to get a list of all users known to the system, or
try :listuser @;format=brief >somefile

For each user you can issue a :showcatalog ;user=username >afile
If there is no error you have a valid user, you can then check for
the second line in "afile" for the string "NO USER UDCS FILES IN EFFECT."
If this string is found then that user has no logon UDCs, else you will
need to read each file listed in the showcatalog output under "User UDC
catalog file names" searching for OPTION LOGON (not commented out).

VESOFT may provide a more automated way.

HTH some,
 Jeff Vance, CSY

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2