User Tools

Site Tools


wiki:security:rbash

This is an old revision of the document!


The way x2go works, allows every user to get a ssh access to the x2go server.

This can be a big problem when, you can not use the broker, to prevent certain actions on the server. The users can browse the x2go-server and have the access to nearly all directiores.

There are serval options to prevent the user doing it. One would be the use of selinux, but it is hard to understand and hard to setup correctly. Another option is the use of rbash, but with the current state of x2go-server there are serval steps so setup it up working correctly.

rbash short feature overview

rbash has some intressting features:

  • cd is disabled
  • no redirections via > and » are allowed
  • no calls of binaries via complete path
  • no changes on the PATH variable are allowed

But be aware, if rbash detects that a executebale is a shell-script it will disable all the feature

wiki/security/rbash.1414348783.txt.gz · Last modified: 2014/10/26 18:39 by woglinde