- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: how to find the users who have high privilege
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
Forums
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
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
тАО09-15-2005 06:48 PM
тАО09-15-2005 06:48 PM
some are in same UIC group and some are different.
i want to display all users who only have OPER privilege. how to handle with?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-15-2005 07:07 PM
тАО09-15-2005 07:07 PM
Re: how to find the users who have high privilege
I dont know any elegant solution. The fastest is to do:
$ run authorize
UAF> list/full
UAF> exit
$ edit sysuaf.lis
and use editor to find OPER.
The second is:
UAF> show * /page/search=OPER
And scroll the whole listing. Lines with OPER string are highlited .
The first solution is faster and more practical to use.
Bojan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-15-2005 07:09 PM
тАО09-15-2005 07:09 PM
Re: how to find the users who have high privilege
AUTHORIZE> list/full
$ search SYSUAF.LIS "username:","oper"
It will find all usernames and below each username you will see if there is any string "OPER". I admit that is rather primitive, but sometimes it is not possible to find a tool or install it on a system and I beleive that's better than going over the full list.
For UIC groups you can try this:
AUTHORIZE> show /brief [123,*]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-15-2005 07:11 PM
тАО09-15-2005 07:11 PM
Re: how to find the users who have high privilege
I should have used a larger cup of coffee this morning...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-15-2005 07:23 PM
тАО09-15-2005 07:23 PM
Re: how to find the users who have high privilege
SAP01_Rohwedder. scanuaf
SCANUAF> priv=oper
===========
Node: LOCAL
===========
Username: xxxxxxxx
Username: xxxxxxxx
Username: DIA$MANAGER
Username: ROHWEDDER
Username: SYSTEM
Username: VET$SERVER
--------------------------------
Records: 132 Matches: 6
--------------------------------
You should find SCANUAF on Hunter Goatley's
fileserv.
regards Kalle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-15-2005 07:26 PM
тАО09-15-2005 07:26 PM
Re: how to find the users who have high privilege
authorize show */brief
and look in the privs column.
You see there normal,devour,system,all .
OPER in the priv list raises to SYSTEM.
For a single user, there is the freeware utility GETUAI (I think in the process.com archive), which lets you get the privilege list like
GETUAI user /priv=privsym/defpriv=defsym
into DCL symbols.
To get a list of all users, create a userlist using AUTHORIZE/LIST/BRIEF * , and loop over the list with GETUAI.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-15-2005 07:29 PM
тАО09-15-2005 07:29 PM
Re: how to find the users who have high privilege
could you give me the address for "Hunter Goatley's file server"?
or could you send this tool to me ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-15-2005 07:40 PM
тАО09-15-2005 07:40 PM
Solutionhttp://vms.process.com/scripts/fileserv/fileserv.com?SCANUAF
Since the original version is quite, I have added some new flags. I attach my version to this replay. It is written in FORTRAN.
regards Kalle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-15-2005 07:52 PM
тАО09-15-2005 07:52 PM
Re: how to find the users who have high privilege
but i donot know how to use it~
i'm a new system manager, even donot know how to install a software on VMS :p
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-15-2005 08:13 PM
тАО09-15-2005 08:13 PM
Re: how to find the users who have high privilege
I just noticed, that the version is rather old (2000) and misses some of the new flags, so I just added them (PDMIX,VMSAUTH e.g.) and created a new version (see attached).
There is a userguide and releasenotes avaiable, as well as a HELP module for a helplibrary.
You must create a nodelist (template in kit), which tells SCANUAF where to find the SYSUAF files for different nodes (yes: scanuaf works network wide).
Besides addition to new flags, I moved the nodeslist and helpfile to a specific directory (CNC_MANAGER), but you can either define a logical name or change the source accordingly.
regards Kalle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-15-2005 08:18 PM
тАО09-15-2005 08:18 PM
Re: how to find the users who have high privilege
thank you all the same. :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-15-2005 09:12 PM
тАО09-15-2005 09:12 PM
Re: how to find the users who have high privilege
I sometimes use
http://vms.process.com/scripts/fileserv/fileserv.com?uaf
for this sort of thing
$ UAF :== $dev:[dir]UAF.EXE
$ UAF/SELECT=(PRIV=CLASS=ALL,DEFPRIV=CLASS=ALL) /DISPLAY=(USERNAME,PRIV,DEFPRIV)
will list all the users with privs in the All class. For information on privilege classes see the Security Manual.
To list all users with OPER
UAF/SELECT=(PRIV=OPER,DEFPRIV=OPER) /DISPLAY=(USERNAME)
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-18-2005 07:32 AM
тАО09-18-2005 07:32 AM
Re: how to find the users who have high privilege
Bob C
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-18-2005 12:11 PM
тАО09-18-2005 12:11 PM
Re: how to find the users who have high privilege
you mean that this tool can be run on Windows and read data from VMS??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-18-2005 12:29 PM
тАО09-18-2005 12:29 PM
Re: how to find the users who have high privilege
Those tools are good.
If you have (g)awk or perl installed you can do something like:
$mcr authorize list/full
$ gawk "/^User/{u=$2} / Priv/{p=$1} / OPER /{print u,p}" sysuaf.lis
or
$ perl -ne "($a,$b)=split; $u=$b if /^Use/; $p=$a if /\sPriv/; print ""$u $p\n"" if /\sOPER/" sysuaf.lis
Or with a DCL loop workign directly on the source (SYSUAF.DAT) exploiting the following info:
$ pipe libr/ext=$uafdef/out=sys$output sys$library:lib.mlb | searc sys$pipe q_priv
$EQU UAF$Q_PRIV 412
$ pipe libr/ext=$prvdef/out=sys$output sys$library:starlet.mlb | search sys$pipe v_oper
$EQU PRV$V_OPER 18
---- uaf_oper.com ---
$open /read /share uaf 'f$parse("SYSUAF","SYS$SYSTEM:.DAT",,,"SYNTAX_ONLY")
$loop:
$ read/end=done uaf rec
$ if f$cvsi(412*8+18,1,rec) then write sys$output f$extr(0,12,rec)
$ goto loop
$done:
$close uaf
fwiw,
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-18-2005 08:49 PM
тАО09-18-2005 08:49 PM
Re: how to find the users who have high privilege
But there are other ways to get OPER. SETPRV for example.
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-19-2005 02:48 AM
тАО09-19-2005 02:48 AM
Re: how to find the users who have high privilege
$ pipe mcr authorize show */brief | search sys$input: all,system,oper /output=privileged_users.lis
Robert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-19-2005 04:13 AM
тАО09-19-2005 04:13 AM
Re: how to find the users who have high privilege
care to elaborate on your EQU command?
AFAIK it is not standard DCL....
Proost.
Have one on me.
jpe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-19-2005 06:08 AM
тАО09-19-2005 06:08 AM
Re: how to find the users who have high privilege
>$EQU UAF$Q_PRIV 412
That is not a DCL command ;-)
It's one line in module ($uafdef) in Macro library (sys$library:lib.mlb) extracted by this command:
$ pipe libr/ext=$uafdef/out=sys$output sys$library:lib.mlb | searc sys$pipe q_priv
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-21-2005 08:26 PM
тАО09-21-2005 08:26 PM
Re: how to find the users who have high privilege
--------------------------------------------------------------------------------
Hi Bob
you mean that this tool can be run on Windows and read data from VMS??
/Exeactly. It is a super monitor and alerts in red problems and can fix many conditions. For example it can fix quorum idssues. It warns if memory tight situations and many problems. Because it has power, it must be on the same lan on the system.
We are set up to do the anaylsis for you for a reasonable fee as well.
It also checks file protections and all sorts of goodies. It has a companion software, System Detective that sets up rules on your VMS system.
send mail to robert.comarow@hp.com for more specifics.
I'm impressed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-21-2005 08:34 PM
тАО09-21-2005 08:34 PM
Re: how to find the users who have high privilege
http://h71000.www7.hp.com/openvms/system_secure.html
and on the products used
http://www.pointsecure.com/products/pointaudit.asp
http://www.pointsecure.com/products/sys_det.asp
Purely Personal Opinion