RSBAC Handbook
Releases
Stable: 1.4.4
kernel:
Full RSBAC kernels
Lazy of patching ?
Get the already rsbac-patched kernel. Choose your flavor.
Classic kernels
Includes vanilla kernel with the RSBAC patch
Enhanced kernels
PaX+RSBAC kernels
Debian repository
Also works for Ubuntu and other Debian-based distributions, of course
GIT
Cutting edge RSBAC source code, can be unstable sometimes
Kernel | Tools
Events
No events planned
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.
Vim has the bad habit to unlink and recreate files you are editing by default.
Thus, the files are changing inode (their filesystem identifier) which RSBAC uses to track them. With vim, you can disable this behavior by disabling the creation of backup files:
Add these lines to your /etc/vim/vimrc or /home/youself/.vimrc
set nobackup set nowritebackup set noswapfile
Table of Contents: RSBAC Handbook
Back: Administration Examples