Re:


From: Amon Ott <ao@rsbac.org>
Subject: Re:
Date: Wed, 19 Sep 2001 10:44:46 +0200

Next Article (by Author): patch-2.4.10-v1.1.2 uploaded to /pre Amon Ott
Previous Article (by Author): New RSBAC paper uploaded Amon Ott
Top of Thread: Phil
Next in Thread: "Bognar, Attila"
Articles sorted by: [Date] [Author] [Subject]


On Tuesday 18 September 2001 17:41, you wrote:
> just a short question. How can I delete types/roles from command line? I
> am writing scripts and must have the possibility to do it so.

Roles and Types cannot be 'deleted', they can just be set to 0. If you set 
the role or type name to "", it will not be shown in the menues any more.

The safe way is to copy an unused role over the one you want to delete. As 
types have no attributes (except secure_delete), setting the name to "" is 
sufficient.

I will add a new option to rc_set_item to clear a role.

Amon.
--
http://www.rsbac.org
-
To unsubscribe from the rsbac list, send a mail to
majordomo@rsbac.org with
unsubscribe rsbac
as single line in the body.

Next Article (by Author): patch-2.4.10-v1.1.2 uploaded to /pre Amon Ott
Previous Article (by Author): New RSBAC paper uploaded Amon Ott
Top of Thread: Phil
Next in Thread: "Bognar, Attila"
Articles sorted by: [Date] [Author] [Subject]


Go to Compuniverse LWGate Home Page.