User Tools

Site Tools


wiki:security:rbash

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
wiki:security:rbash [2014/10/31 21:39]
woglinde [Link the needed programs to setup a session]
wiki:security:rbash [2014/11/01 09:21]
woglinde [Fix session clean up]
Line 75: Line 75:
 cd /opt/rbash/lib && ln -s /usr/lib/x2go . cd /opt/rbash/lib && ln -s /usr/lib/x2go .
 </code> </code>
 +
 +====== Bring the path back to some scripts ======
 +Because we set the PATH to /opt/rbash/bin some scripts needs to set it back to be functional again.
 +
 +<code bash>
 +x2gopath
 +x2goruncommand
 +x2gostartagent
 +x2goterminate-session
 +</code>
 +
 +After the license header add the following to all files mentioned above
 +<code bash>
 +export PATH=/bin:/usr/bin:/sbin:/usr/sbin
 +</code>
 +
 +====== rbash as default shell (optional)======
 +
 +If rbash is also set as the default shell via /etc/passwd or some other mechanism, the sessioncleanup skripts needs
 +to be fixed too.
 +
 +
wiki/security/rbash.txt ยท Last modified: 2014/11/03 13:07 by woglinde