HP3000-L Archives

April 2002, 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:
Andreas Schmidt <[log in to unmask]>
Reply To:
Andreas Schmidt <[log in to unmask]>
Date:
Tue, 23 Apr 2002 18:27:43 +0200
Content-Type:
text/plain
Parts/Attachments:
text/plain (84 lines)
sec listusers ... will do the listing only of course.

the 1st question is the harder one.  a little script could do s.th. to
identify all mpe users but the problem is the wildcard usage in sec/3000.
as soon as a profile looks alike @.@ all mpe users are covered ...

but it is possible to search for EXACT matches!

one way to do this in a little shell script, quick&dirty:


#!/bin/sh

callci 'run main.pub.vesoft;parm=1;info="veaudit listusers @.@"' > ./OUTLIST

echo "setvar hpautocont true" > ./INLIST

grep notshown ./OUTLIST > ./in

while read account user dummy
do
        echo ".\c"
        echo "listuser @,$user.$account" >> ./INLIST
done < ./in

callci 'run main.pub.vesoft,sec;parm=1' < ./INLIST

rm ./OUTLIST
rm ./INLIST
rm ./in



output can be filed into another file ... as said: this is q&d and built
just for curiosity ...

Best regards, Andreas






[log in to unmask] on 23/04/2002 16:19:02

To:   Andreas Schmidt/GIS/CSC@CSC, [log in to unmask]
cc:
Subject:  RE: report of security/3000 vs. MPE userids?


So, shouldn't it possible to adapt the second MPEX command to simply list
these users (which was Chris Bartram's second request), without deleting
them? And, what about the inverse, existing MPE users, for which there are
no entries in SECURITY / 3000?

Greg Stigers
http://www.cgiusa.com

> -----Original Message-----
> From: Andreas Schmidt [mailto:[log in to unmask]]
> Sent: Tuesday, April 23, 2002 4:06 AM
> To: [log in to unmask]
> Subject: Re: report of security/3000 vs. MPE userids?
>
<snip>
> ECHO      *** will delete profiles of not existent mpe-users ... ***
> MAIN.PUB.VESOFT PARM=1;INFO="&
> SEC DELETE @.@(NOT USEREXISTS(USER+'.'+ACCOUNT) AND USER<>'@')"
> ECHO
<snip>
> Chris Bartram <[log in to unmask]>@RAVEN.UTC.EDU> on 22/04/2002 20:35:59
<snip>
> Before I possibly reinvent the wheel...
>
> Anyone know of a way to generate a list of:
>
> 1) MPE user ids for which no Security/3000 profile matches it
>
> 2) Security/3000 profiles which have no corresponding MPE userid(s)
<snip>

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

ATOM RSS1 RSS2