seahorse

Well-Known Member
Jul 3, 2003
49
0
156
/scripts/securetmp is it of any use?

On my server,
WHM 10.8.0 cPanel 10.9.0-R10737
Fedora i686 - WHM X v3.1.0

i ssh
--> run /scripts/securetmp
--> cat /etc/fstab | grep tmp

tmpfs /dev/shm tmpfs defaults 0 0
LABEL=/tmp /tmp ext3 defaults 1 2

--> reboot server
--> cat /etc/fstab | grep tmp

still the same.

tmpfs /dev/shm tmpfs defaults 0 0
LABEL=/tmp /tmp ext3 defaults 1 2


seems nothing happen.
cpanel securetmp script seems does nothing at all.
 

seahorse

Well-Known Member
Jul 3, 2003
49
0
156
try "mount" instead of "cat /etc/fstab"

if you see "noexec,nosuid" you know the script did something ;)

but isnt the cpanel securetmp script suppose to do the mounting also?
the srcipt did ask if i want to secure tmp during reboot, i type yes.
then after i reboot, it is still not "noexec,nosuid"

thats why i am trying to ask if the cpanel securetmp script is working?
 

cPanelKenneth

cPanel Development
Staff member
Apr 7, 2006
4,607
79
458
cPanel Access Level
Root Administrator
/scripts/securetmp is it of any use?

On my server,
WHM 10.8.0 cPanel 10.9.0-R10737
Fedora i686 - WHM X v3.1.0
As mentioned, first check what `mount` reports. Next, which version of Fedora are you using?