Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
Restricted Shell for SSH Server
(view source)
Revision as of 15:41, 23 May 2017
83 bytes added
,
15:41, 23 May 2017
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
Author
Bureaucrats
,
Administrators
286
edits
Navigation menu
Personal tools
Log in
Namespaces
Page
Discussion
Variants
Views
Read
View source
View history
More
Search
Navigation
Linux
Debian + Ubuntu
Apache Webserver
Openbox
SME server
Privoxy Tor
Postfix
Tinycore Linux
Tools
MySQL
MySQL
Wordpress
Customize
Unix
FreeBSD
Router OS
openwrt
pfsense
fritzbox
Netio Koukaam Wiki
netio-230a/b
Mediawiki
MediaWiki
Tools
Special pages
Printable version