Changes

Jump to navigation Jump to search
no edit summary
Line 11: Line 11:  
<pre>
 
<pre>
 
mv /bin/bash /bin/oldbash
 
mv /bin/bash /bin/oldbash
 +
</pre>
 +
* Disable other Shells for User
 +
<pre>
 
chmod o= /bin/oldbash
 
chmod o= /bin/oldbash
 +
chmod 700 /bin/sh
 +
chmod 700 /bin/dash
 
</pre>
 
</pre>
 
* create a symlink for rbash to bash
 
* create a symlink for rbash to bash

Navigation menu