HP3000-L Archives

August 2002, Week 3

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:
Ron Horner <[log in to unmask]>
Reply To:
Ron Horner <[log in to unmask]>
Date:
Wed, 21 Aug 2002 14:36:07 -0500
Content-Type:
multipart/mixed
Parts/Attachments:
text/plain (3343 bytes) , text/plain (501 bytes)
I hear you.  I hope you get it to work.  Just that sometimes, it's better to
use the native tools; rather than, use something that is foreign.

Later.

Ron Horner
HP3000 Systems Administrator
JCPenney Logistics
[log in to unmask]
(414) 259-2274
AIM: hornerrr
----- Original Message -----
From: "Taylor, Joe" <[log in to unmask]>
To: <[log in to unmask]>
Sent: Wednesday, August 21, 2002 2:33 PM
Subject: Re: POSIX script and Security 3000


> Ron,
>
>   We are going to be moving to a UNIX environment and so I'm trying to use
> this as an exercise for learning UNIX scripting.
>
> Joe
>
> -----Original Message-----
> From: Ron Horner [mailto:[log in to unmask]]
> Sent: Wednesday, August 21, 2002 3:10 PM
> To: [log in to unmask]; [log in to unmask]
> Subject: Re: POSIX script and Security 3000
>
>
> I have to ask a stupid question.  Why write a script in POSIX when writing
> it in VESOFT would be much easier and better?
>
> Ron Horner
> HP3000 Systems Administrator
> JCPenney Logistics
> [log in to unmask]
> (414) 259-2274
> AIM: hornerrr
> ----- Original Message -----
> From: "Taylor, Joe" <[log in to unmask]>
> To: <[log in to unmask]>
> Sent: Wednesday, August 21, 2002 1:52 PM
> Subject: POSIX script and Security 3000
>
>
> > I'm trying to write a script in POSIX to delete users out of Security
3000
> > given a file that contains a list of session ids only and then create a
> file
> > that contains logon ids for all AMISYS accounts that user was allowed
> access
> > to.
> > I can run the callci from the shell for an individual user without
> problems,
> > but when I put it in a loop to execute I get the following error
messages.
> > Any help would be appreciated. Thanks.
> >
> > cat Aug21
> >
> > Error: Doing Fopen of $STDINX.
> > The redo stack cannot be created, REDO is disabled. (CIWARN 9009)
> > -----Will delete E63240J ,AJ      .AIHWORK
> > -----Will delete E63240J ,ISDEV   .AIHY2K
> > -----Will delete E63240J ,ISDEV   .ADVANTA
> > -----Will delete E63240J ,ISDEV   .AIHWORK
> > -----Will delete E63240J ,ISDEV   .ADVANTA    (inheriting from E63240J
> > ,ISDEV
> > .AIHWORK )
> > -----Will delete E63240J ,ISDEV   .AIHY2K     (inheriting from E63240J
> > ,ISDEV
> > .ADVANTA )
> > -----Will delete E63240J ,AJ      .AIHWORK    (inheriting from E63240J
> > ,ISDEV
> > .AIHY2K  )
> > Error: Doing Fopen of $STDINX.
> >
> > END OF PROGRAM
> >
> >
> >
> > set -x                # set tracing on
> > LISTUSER="LISTUSER "
> > DELETE="DELETE "
> > NOVERIFY=";NOVERIFY"
> > id=",@.@"
> >
> > rm logon_ids
> > rm delcmds
> >
> > for session in `cat ids`
> > do
> >   echo $DELETE $session$id$NOVERIFY >> delcmds
> >   vecmd="$LISTUSER $session$id"
> >
> >   callci "run main.pub.vesoft,sec;info='$vecmd'" > accounts
> >
> >   sed '1,12d' accounts > tmp_accts
> >
> >   awk '{if ($1 != "***" && $1 != "END" && $1 != "")   \
> >     print $3","$2"."$1}' tmp_accts >> logon_ids
> > done
> >
> > dt=`date +%b%d`
> >
> >  while read line
> >  do
> >   callci "run main.pub.vesoft,sec;info='$line'" >> $dt
> >  done < delcmds
> >
> > set +x                 # set tracing off
> >
> >
> >  cat delcmds
> > DELETE E63240J,@.@;NOVERIFY
> >
> > * To join/leave the list, search archives, change list settings, *
> > * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
> >
>
> * To join/leave the list, search archives, change list settings, *
> * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
>




The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. If the reader of this message is not the intended recipient, you are hereby notified that you have received this message in error and that any review, dissemination, distribution or copying of this message including any attachments is strictly prohibited. If you received this in error, please contact the sender and delete the material from any computer.

ATOM RSS1 RSS2