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/11/01 09:23]
woglinde
wiki:security:rbash [2014/11/01 09:27]
woglinde [rbash as default shell (optional)]
Line 17: Line 17:
   * no redirections via > and >> are allowed   * no redirections via > and >> are allowed
   * no calls of binaries via complete path   * no calls of binaries via complete path
-  * no changes on the PATH variable are allowed+  * no changes off the PATH variable are allowed
  
 But be aware, if rbash detects that a executebale is a shell-script it will be run with full bash. But be aware, if rbash detects that a executebale is a shell-script it will be run with full bash.
Line 98: Line 98:
 to be fixed too. to be fixed too.
  
 +In
 +<code bash>
 +/usr/sbin/x2gocleansessions 
 +</code>
  
 +the lines with
 +
 +<code bash>
 +system("su", "@sinfo[11]", "-c"
 +</code>
 +
 +needs to be changed to
 +
 +<code bash>
 +system("su", "@sinfo[11]", "-s", "/bin/bash", "-c",
 +</code>
wiki/security/rbash.txt ยท Last modified: 2014/11/03 13:07 by woglinde