Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
Hardening /proc Hide Processes from other Users
(view source)
Revision as of 13:33, 7 July 2017
149 bytes added
,
13:33, 7 July 2017
no edit summary
Line 17:
Line 17:
$ps ax
$ps ax
</pre>
</pre>
−
Should only view own jobs
+
Should only view own jobs
!
−
on
Raspain OS
+
+
At
Raspain OS
a Workaround:
create a Script /home/pi/mount-proc.sh
create a Script /home/pi/mount-proc.sh
insert:
insert:
Line 26:
Line 27:
mount -o remount,rw,relatime,nosuid,noexec,nodev,hidepid=2 /proc
mount -o remount,rw,relatime,nosuid,noexec,nodev,hidepid=2 /proc
exit
exit
+
</pre>
+
and insert /home/pi/mount-proc.sh into root crontab to run on boot:
+
<pre>
+
@reboot sh /home/pi/mount-proc.sh > /dev/null 2>&1
</pre>
</pre>
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