securepartitions

Discussion in 'Site & Server Administration' started by Ahmed Star, May 19, 2012.

  1. #1
    Hello,

    I setup the ELS

    when i made this line , this problem appeared

    root@server [~]# els --securepartitions

    /usr/sbin/els: line 1561: [: =: unary operator expected
    ELS can secure your /tmp, /var/tmp, and /dev/shm partitions.
    Proceed? (y/n): y
    Found /tmp partition in /etc/fstab.
    Backing up current fstab...
    Successfully backed up as '/usr/local/els/bakfiles/fstab.bak'!
    Modifying /etc/fstab...
    Done.
    Remounting /tmp...
    Done.
    You should check '/etc/fstab' before you reboot your system!!!

    Found /var/tmp partition in /etc/fstab.
    /etc/fstab already backed up as /usr/local/els/bakfiles/fstab.bak
    Modifying /etc/fstab...
    Done.
    Remounting /var/tmp...
    [mntent]: line 17 in /etc/fstab is bad
    Done.
    You should check '/etc/fstab' before you reboot your system!!!

    Found /dev/shm partition in /etc/fstab.
    Backing up current configuration file...
    /etc/fstab already backed up as /usr/local/els/bakfiles/fstab.bak
    Modifying /etc/fstab...
    Done.
    Remounting /dev/shm...
    [mntent]: line 9 in /etc/fstab is bad
    [mntent]: line 10 in /etc/fstab is bad
    [mntent]: line 12 in /etc/fstab is bad
    [mntent]: line 13 in /etc/fstab is bad
    [mntent]: line 15 in /etc/fstab is bad; rest of file ignored
    mount: can't find /dev/shm in /etc/fstab or /etc/mtab
    Done.
    You should check '/etc/fstab' before you reboot your system!!!



    what is the problem?

    how can i check it?

    iam waiting you

    thanks alot
     
    Ahmed Star, May 19, 2012 IP
  2. fixyourserver

    fixyourserver Peon

    Messages:
    20
    Likes Received:
    0
    Best Answers:
    1
    Trophy Points:
    0
    #2
    Post the output of your /etc/fstab file so that we can better determine the issue.
     
    fixyourserver, May 20, 2012 IP
  3. Ahmed Star

    Ahmed Star Peon

    Messages:
    10
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    this is output


    #
    # /etc/fstab
    # Created by anaconda on Sat May 19 13:37:51 2012
    #
    # Accessible filesystems, by reference, are maintained under '/dev/disk'
    # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
    #
    /dev/mapper/vg_server-Root / ext4 tmpfs /dev/shm tmpfs rw,noexec,nosuid,nodev 0 0,usrquota 1 1
    UUID=2c217632-ac10-4702-8d87-6762d0a3e63d /boot ext4 tmpfs /dev/shm tmpfs rw,noexec,nosuid,nodev 0 0 $
    /dev/mapper/vg_server-Tmp /tmp ext4 rw,noexec,nosuid,nodev 1 2
    /dev/mapper/vg_server-Swap swap swap tmpfs /dev/shm tmpfs rw,noexec,nosuid,nodev 0 0 0 0
    tmpfs /dev/shm tmpfs tmpfs /dev/shm tmpfs rw,noexec,nosuid,nodev 0 0 0 0
    devpts /dev/pts devpts gid=5,mode=620 0 0
    sysfs /sys sysfs tmpfs /dev/shm tmpfs rw,noexec,nosuid,nodev 0 0 0 0
    proc /proc proc tmpfs /dev/shm tmpfs rw,noexec,nosuid,nodev 0 0 0 0
    /tmp /var/tmp ext3 /tmp /var/tmp ext3 rw,noexec,nosuid,nodev,bind 0 0 0 0


    No , it is dedicated server
     
    Ahmed Star, May 20, 2012 IP