Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
* Deleting Obsolete ACL Entries
@ 1993-06-08 14:21 Jeffrey L. DeMent
  1993-06-09 17:50 ` Alex Ranous
  0 siblings, 1 reply; 3+ messages in thread
From: Jeffrey L. DeMent @ 1993-06-08 14:21 UTC (permalink / raw)


Tell me this is not true .....

I have obsolete ACL entries I would like to remove but acl_edit does not
let me do it, for instance:

% acl_edit /.:/u/jld -l

# SEC_ACL for /.:/u/jld:
# Default cell = /.../ssed.advtech.uswest.com
unauthenticated:r--t---
user:cell_admin:rwdtcia
user:hosts/hacksaw/cds-server:rwdtcia
user:000015B6-7A86-2B3F-B200-820D1A420000:rwdtci-
group:subsys/dce/cds-admin:rwdtcia
group:subsys/dce/cds-server:rwdtcia
any_other:r--t---

This ACL entry belongs to a principal I've deleted.  When I try and remove
a single entry, acl_edit complains about the syntax:

% acl_edit /.:/u/jld -d user:000015B6-7A86-2B3F-B200-820D1A420000:rwdtci-

AND ACL_EDIT SAYS INVALID ENTRY OR WORDS TO THAT EFFECT.

I've been told the only way to remove the offending entry is to use "kill"
and blow away all ACL entries for /.:/u/jld and then re-entry the ones I
want to keep.  Isn't there a better way ?

Jeff
_____________________________________________________________________

 Jeffrey L. DeMent                                  _._._._._._._
 U S WEST Advanced Technologies                    (_|_|_|_|_|_|_)
 1475 Lawrence Street, Suite 400                    ` \` | | '/ '
 Denver, Colorado  80202                             ` \`| |'/ '
                                                      ` \| |/ '
 Phone: (303) 595-0519                                 ` \0/ '
 FAX:   (303) 592-6532                                  `~#~'
                                                          ^
 Internet: jld@advtech.uswest.com
_____________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Deleting Obsolete ACL Entries
  1993-06-08 14:21 Deleting Obsolete ACL Entries Jeffrey L. DeMent
@ 1993-06-09 17:50 ` Alex Ranous
  1993-06-10 22:17   ` Greg Brail
  0 siblings, 1 reply; 3+ messages in thread
From: Alex Ranous @ 1993-06-09 17:50 UTC (permalink / raw)


Jeffrey L. DeMent (jld@advtech.uswest.com) wrote:
: Tell me this is not true .....

: I have obsolete ACL entries I would like to remove but acl_edit does not
: let me do it, for instance:

: % acl_edit /.:/u/jld -l

: # SEC_ACL for /.:/u/jld:
: # Default cell = /.../ssed.advtech.uswest.com
: unauthenticated:r--t---
: user:cell_admin:rwdtcia
: user:hosts/hacksaw/cds-server:rwdtcia
: user:000015B6-7A86-2B3F-B200-820D1A420000:rwdtci-
: group:subsys/dce/cds-admin:rwdtcia
: group:subsys/dce/cds-server:rwdtcia
: any_other:r--t---

: This ACL entry belongs to a principal I've deleted.  When I try and remove
: a single entry, acl_edit complains about the syntax:

: % acl_edit /.:/u/jld -d user:000015B6-7A86-2B3F-B200-820D1A420000:rwdtci-

: AND ACL_EDIT SAYS INVALID ENTRY OR WORDS TO THAT EFFECT.

: I've been told the only way to remove the offending entry is to use "kill"
: and blow away all ACL entries for /.:/u/jld and then re-entry the ones I
: want to keep.  Isn't there a better way ?

Try creating a principal with the UUID of deleted principal by using
the adopt command in rgy_edit.  The ACL entry then should use that
principal name, and you should be able to delete the ACL entry.  You
can then delete that principal.  A pain, but I believe it should work.

The real solution is that acl_edit needs to be fixed to deal with this
situation.

Alex


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Deleting Obsolete ACL Entries
  1993-06-09 17:50 ` Alex Ranous
@ 1993-06-10 22:17   ` Greg Brail
  0 siblings, 0 replies; 3+ messages in thread
From: Greg Brail @ 1993-06-10 22:17 UTC (permalink / raw)


In article <C8D88v.Mwp@nsa.hp.com> ranous@nsa.hp.com (Alex Ranous) writes:
>Try creating a principal with the UUID of deleted principal by using
>the adopt command in rgy_edit.  The ACL entry then should use that
>principal name, and you should be able to delete the ACL entry.  You
>can then delete that principal.  A pain, but I believe it should work.
>
>The real solution is that acl_edit needs to be fixed to deal with this
>situation.

acl_edit might be able to fix it, but it seems to me the ACL manager
has to get involved. If you're writing your own ACL manager, you could
certainly write whatever code you want to go through each ACL and
delete entries for non-existant principals, groups, and organizations.
This would be an expensive operation, but running it every once in a
while should do the trick.

Of course, since CDS is itself an ACL manager, it wouldn't be such a
bad idea if such a function were incorporated into CDS in a future
release of DCE.
				greg



-- 
Greg Brail ------------------ Citibank -------------------- gjb@fig.citib.com


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1993-06-10 22:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1993-06-08 14:21 Deleting Obsolete ACL Entries Jeffrey L. DeMent
1993-06-09 17:50 ` Alex Ranous
1993-06-10 22:17   ` Greg Brail

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox