[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Selinux bash prompt decorations
From: |
Chet Ramey |
Subject: |
Re: Selinux bash prompt decorations |
Date: |
Tue, 4 Apr 2006 15:51:12 -0400 |
> Redhat would like to add more decoration options to the bash prompt.
> We want to make the 4 SELinux fields available on the prompt:
>
> - current SELinux user
> - current SELinux role
> - current SELinux type
> - current MLS clearance
>
> This would require dependency on libselinux, libsetrans, and libsepol -
> the 3 main selinux libraries.
> [ of course integration would be optional ].
Are these values available to the user any other way -- say, through
environment or shell variables? How about commands whose output may
be assigned to shell variables?
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet )
Live Strong.
Chet Ramey, ITS, CWRU chet@case.edu http://tiswww.tis.case.edu/~chet/