Welcome to the JaguarPC Community
JaguarPC
Sales: (888) 338-5261
Support: (888)-551-3050
Results 1 to 4 of 4

This is a discussion on Changing the mount options for /tmp in the Shared & Semi-Dedicated forum
Hi, After securing my server you applied the mount options 'noexec' and 'nosuid' to my /tmp directory. I'd like to temporarily remount it without those ...

  1. #1
    JPC Member
    Join Date
    Aug 2005
    Posts
    40

    Changing the mount options for /tmp

    Hi,

    After securing my server you applied the mount options 'noexec' and 'nosuid' to my /tmp directory. I'd like to temporarily remount it without those options. How can I do this?

    I've tried 'mount -o remount,rw,bind,exec /tmp' and 'mount -o remount,rw,bind /tmp', but neither has changed anything. I also tried changing the entry in fstab and restarting but that didn't change it either.
    == Jez ==

  2. #2
    consultant Andre's Avatar
    Join Date
    Apr 2005
    Posts
    1,155
    To do that you would have to remove the line about /tmp from your /etc/fstab file and restart your VPS.
    Andre van Vliet

    DEHE.com - Definition of Hosting Experts

  3. #3
    JPC Member
    Join Date
    Aug 2005
    Posts
    40
    Andre,

    It would seem that something other than /etc/fstab is controlling the /tmp mounting, though. When I remove that line and restart, the mount is still there, exactly as before. It's likely something to do with your security setup; do you do anything else that causes /tmp to be mounted that way?
    == Jez ==

  4. #4
    consultant Andre's Avatar
    Join Date
    Apr 2005
    Posts
    1,155
    The /etc/fstab is the only thing that control it, but it could be that once it's been set that it stays that way somehow (I have to add that I haven't tried to remove a partition like that before, mainly because usually it's not necessary to do so).

    If you would like us to take a look at this please open a support ticket.
    Andre van Vliet

    DEHE.com - Definition of Hosting Experts

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •