Tutorials

:: Setting up /tmp mount: you must specify the filesystem type

:: Error mounting /tmp when increase the size in /scripts/securetmp

Use of uninitialized value in numeric eq (==) at cpservice line 48.
Use of uninitialized value in print at cpservice line 49.
Use of uninitialized value in exit at cpservice line 55.
Securing /tmp & /var/tmp
Setting up /tmp... mount: you must specify the filesystem type

 
:: How to fix mount: you must specify the filesystem type on cPanel
+ Uninstall securetmp configure

/scripts/securetmp --uninstall

+ Edit /etc/fstab

cp /etc/fstab /etc/fstab.orig
vi /etc/fstab
# remove on this line:
/tmp             /var/tmp                    ext3    defaults,bind,noauto        0 0

+ backup / move /usr/tmpDSK

mv /usr/tmpDSK /usr/tmpDSK.orig

+ Apply new configuration

/scripts/securetmp

+ Checking

df -h

 
+ Google
+ cPanel

Hi, I’m Sysadmin.ID

Leave a Reply

Your email address will not be published. Required fields are marked *