This will work great for what I need. Thanks a million to both you and
Rich! J
George
(712) 579-5444 (cell)
985 Oak Rd
Harlan, IA 51537
-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Rob
Berendt
Sent: Wednesday, March 21, 2018 12:10 PM
To: Midrange Systems Technical Discussion
Subject: RE: EDTOBJAUT
IDK why. Perhaps the IBM developer who originally coded it tried to do it
in one shot but tried to change *PUBLIC to *AUTL before he added the
authorization list and figured they had to be done separately?
You can submit an RFE to get them to change this.
Rob Berendt
--
IBM Certified System Administrator - IBM i 6.1 Group Dekko Dept 1600 Mail
to: 2505 Dekko Drive
Garrett, IN 46738
Ship to: Dock 108
6928N 400E
Kendallville, IN 46755
<
http://www.dekko.com>
http://www.dekko.com
From: "George Applegate" < <mailto:gappleg8@xxxxxxxxx> gappleg8@xxxxxxxxx>
To: "'Midrange Systems Technical Discussion'"
< <mailto:midrange-l@xxxxxxxxxxxx> midrange-l@xxxxxxxxxxxx>
Date: 03/21/2018 01:06 PM
Subject: RE: EDTOBJAUT
Sent by: "MIDRANGE-L" < <mailto:midrange-l-bounces@xxxxxxxxxxxx>
midrange-l-bounces@xxxxxxxxxxxx>
Rob, that seems strange...can you elaborate on WHY? I don't doubt you, I'm
just curious...Thanks much,
George
(712) 579-5444 (cell)
985 Oak Rd
Harlan, IA 51537
-----Original Message-----
From: MIDRANGE-L [ <mailto:midrange-l-bounces@xxxxxxxxxxxx>
mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Rob
Berendt
Sent: Wednesday, March 21, 2018 11:57 AM
To: Midrange Systems Technical Discussion
Subject: Re: EDTOBJAUT
You'll need to run two commands. Same command but with different options.
GRTOBJAUT OBJ(MYLIB/*all) OBJTYPE(*ALL) AUTL(MYAUTL) GRTOBJAUT
OBJ(MYLIB/*all) OBJTYPE(*ALL) USER(*PUBLIC) AUT(*AUTL)
They don't let you do this in one pass.
Rob Berendt
--
IBM Certified System Administrator - IBM i 6.1 Group Dekko Dept 1600 Mail
to: 2505 Dekko Drive
Garrett, IN 46738
Ship to: Dock 108
6928N 400E
Kendallville, IN 46755
<
http://www.dekko.com>
http://www.dekko.com
From: "George Applegate" < <mailto:gappleg8@xxxxxxxxx> gappleg8@xxxxxxxxx>
To: < <mailto:MIDRANGE-L@xxxxxxxxxxxx> MIDRANGE-L@xxxxxxxxxxxx>
Date: 03/21/2018 12:53 PM
Subject: EDTOBJAUT
Sent by: "MIDRANGE-L" < <mailto:midrange-l-bounces@xxxxxxxxxxxx>
midrange-l-bounces@xxxxxxxxxxxx>
I want to create an authorization list to secure a large number of files,
but am wondering if there is any way to associate that authorization list
with the files easily.
For instance, I would like to be able to do an EDTOBJAUT ADDLST(NEWLIST)
command but there isn't any such beast that I can tell? Kind of like an
ADDOBJAUT, which also doesn't exist. Then I could put this all in a C/L
command that could be executed some night when no one is using the system,
such that it would go through and secure the files without having to do it
interactively.
Like the C/L Command could be something like:
EDTJOBAUT OBJ(FILEONE) OBJTYPE(*FILE) ADDLST(NEWLIST)
EDTJOBAUT OBJ(FILETWO) OBJTYPE(*FILE) ADDLST(NEWLIST)
.
EDTJOBAUT OBJ(FILE9999) OBJTYPE(*FILE) ADDLST(NEWLIST)
Obviously, the "ADDLST" parm is fictitious.
Is there an easier way to do this or how could I accomplish this?
Appreciate any ideas or suggestions.
George
(712) 579-5444 (cell)
985 Oak Rd
Harlan, IA 51537
As an Amazon Associate we earn from qualifying purchases.