documentation:administration_examples:tips
=>  Releases

Current version
Git/Latestdiff: 1.5.6

Latest Snapshots
Produced after each commit or rebase to new upstream version

GIT
RSBAC source code, can be unstable sometimes

=>  Events

No events planned

Want to know -on the fly- if the softmode has been enabled ?

Simple with bash:

PROMPT_COMMAND='cat /proc/rsbac-info/active|grep SOFTMODE > /dev/null \
               && mode=$(echo -e "\e[31;01m") \
               || mode=$(echo -e "\e[34;01m")'
PS1='\[\033[32;01m\]\u@$mode\h\[\033[0;m\]:\w\$ '

This prompt will show your hostname in red whenever softmode is enabled, in blue otherwise.

//
documentation/administration_examples/tips.txt · Last modified: 2006/05/02 15:40 (external edit)

documentation/administration_examples/tips.txt · Last modified: 2006/05/02 15:40 (external edit)
This website is kindly hosted by m-privacy