Results 1 to 8 of 8

Thread: securetmp ?

  1. #1
    Join Date
    Jul 2002
    Location
    Kuwait
    Posts
    10,620

    securetmp ?

    i've noticed on one of the boxes that i ran securetmp script long time ago the folowing:
    Code:
    Filesystem           1K-blocks      Used Available Use% Mounted on
    /dev/sda3             68437272  29686156  35274652  46% /
    /dev/sda1               101089     20601     75269  22% /boot
    none                    514240         0    514240   0% /dev/shm
    /tmp                    247919     30034    205085  13% /var/tmp
    /tmp                    247919     30034    205085  13% /var/tmp
    /tmp                    247919     30034    205085  13% /var/tmp
    /usr/tmpDSK             247919     30034    205085  13% /tmp
    /tmp                    247919     30034    205085  13% /var/tmp
    any idea why /var/tmp/ showing 4 times?!

    also rebooting didnt fix it too
    Bashar Al-Abdulhadi - KuwaitNET Internet Services Serving customers since 1997
    Kuwait's First Webhosting and Domain Registration provider - an ICANN Accredited Registrar

    Twitter: Bashar Al-Abdulhadi

  2. #2
    Join Date
    Nov 2004
    Location
    India
    Posts
    1,104
    Edit the /etc/fstab file and check for any repeated "/tmp" entries..you can also do a unmount and remount the /tmp partiton..
    AssistanZ - Beyond Boundaries...
    Cloudstack Consultancy / 24x7 Web Hosting Support / 24x7 Server Management / Infrastructure Management Services
    Web & Mobile Apps Development / Web Designing Services / Php, Grails, Java Development

  3. #3
    Join Date
    Jul 2002
    Location
    Kuwait
    Posts
    10,620
    i've checked that already and nothing is repeated.

    its kinda making me crazy!
    Bashar Al-Abdulhadi - KuwaitNET Internet Services Serving customers since 1997
    Kuwait's First Webhosting and Domain Registration provider - an ICANN Accredited Registrar

    Twitter: Bashar Al-Abdulhadi

  4. #4
    Join Date
    Nov 2004
    Location
    India
    Posts
    1,104
    Did you tried unmounting /tmp partiton and remounting it again?
    AssistanZ - Beyond Boundaries...
    Cloudstack Consultancy / 24x7 Web Hosting Support / 24x7 Server Management / Infrastructure Management Services
    Web & Mobile Apps Development / Web Designing Services / Php, Grails, Java Development

  5. #5
    Join Date
    Jul 2002
    Location
    Kuwait
    Posts
    10,620
    didnt do it manually, but i rebooted the box several times yet that didn't fix it

    as you noticed from the above /tmp is being mounted on /var/tmp and /usr/tmpDSK is mounted on /tmp, and dont ask me how that happend!
    Bashar Al-Abdulhadi - KuwaitNET Internet Services Serving customers since 1997
    Kuwait's First Webhosting and Domain Registration provider - an ICANN Accredited Registrar

    Twitter: Bashar Al-Abdulhadi

  6. #6
    Join Date
    Mar 2003
    Location
    California USA
    Posts
    13,681
    the script is called from /etc/rc.local
    Steven Ciaburri | Industry's Best Server Management - Rack911.com
    Software Auditing - 400+ Vulnerabilities Found - Quote @ https://www.RACK911Labs.com
    Fully Managed Dedicated Servers (Las Vegas, New York City, & Amsterdam) (AS62710)
    FreeBSD & Linux Server Management, Security Auditing, Server Optimization, PCI Compliance

  7. #7
    Join Date
    Jul 2002
    Location
    Kuwait
    Posts
    10,620
    ah, the /scripts/securetmp --auto was repeated 3 times in there.

    thanks for the hint steve
    Bashar Al-Abdulhadi - KuwaitNET Internet Services Serving customers since 1997
    Kuwait's First Webhosting and Domain Registration provider - an ICANN Accredited Registrar

    Twitter: Bashar Al-Abdulhadi

  8. #8
    Join Date
    Dec 2002
    Location
    The Shadows
    Posts
    2,925
    hehe, I ran it once, just to generate the tmp file, and then removed it and added the mount point in /etc/fstab
    Dan Sheppard ~ Freelance whatever

Posting Permissions

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