bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Selinux bash prompt decorations


From: Paul Jarc
Subject: Re: Selinux bash prompt decorations
Date: Wed, 05 Apr 2006 00:22:51 -0400
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.4 (gnu/linux)

Steve Grubb <sgrubb@redhat.com> wrote:
> On Tuesday 04 April 2006 15:51, Chet Ramey wrote:
>> How about commands whose output may be assigned to shell variables?
>
> Yes, they can be acquired in a number of ways. But what we are trying to do 
> is 
> set things up so that people using this in a classified environment have an 
> easy way to see what the session is running at.

You can put the information in PS1 without bash having special
functionality for getting it.
selinux_user=`...`
PS1='$selinux_user...'


paul




reply via email to

[Prev in Thread] Current Thread [Next in Thread]