Quote:
Originally Posted by bytez
thanks, how to I edit the fstab file without breaking the system? Could I just use pico command?
|
well, my suggestion would be to first try it without editing the file... in other words, just
remount your devshm with the new options... if anything goes wrong (unlikely but possible) you can just reboot and be done with it... check it:
Code:
win32sux@candystore:~$ mount | grep shm
devshm on /dev/shm type tmpfs (rw)
win32sux@candystore:~$ sudo mount -o rw,noexec,nosuid,remount -t tmpfs devshm /dev/shm
win32sux@candystore:~$ mount | grep shm
devshm on /dev/shm type tmpfs (rw,noexec,nosuid)
then when you are sure your box didn't break, make a backup of your fstab before editing it:
Code:
cat /etc/fstab > /etc/fstab.bak
this way if all hell breaks loose upon reboot then you can just boot a live cd and
cat the backup file back into the proper one...
PS: yes, pico is fine, any text editor will do, really...