From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10952f,b69d377feb5a8a2 X-Google-Attributes: gid10952f,public X-Google-Thread: 10872d,d4c1f7c0fe672a4 X-Google-Attributes: gid10872d,public X-Google-Thread: fcda7,d4c1f7c0fe672a4 X-Google-Attributes: gidfcda7,public X-Google-Thread: 1020c6,d4c1f7c0fe672a4 X-Google-Attributes: gid1020c6,public X-Google-Thread: 1164f8,d4c1f7c0fe672a4 X-Google-Attributes: gid1164f8,public X-Google-Thread: 1070f0,d4c1f7c0fe672a4 X-Google-Attributes: gid1070f0,public From: kwthomas@wizard.nssl.noaa.gov (Kevin W. Thomas) Subject: Re: Different UNIX pro's and con's. Date: 1998/09/19 Message-ID: <6tv4o2$eoa$1@enterprise.nssl.noaa.gov>#1/1 X-Deja-AN: 392611199 References: <35F71814.1E0B911C@iakom.com> <3602837C.5A77@lmt.ens-cachan.fr> <3602C849.C70612C6@llnl.gov> Organization: National Severe Storms Laboratory Newsgroups: comp.unix.admin,comp.sys.hp.hpux,comp.sys.sgi.admin,comp.sys.sun.admin,comp.sys.dec,comp.security.unix In article , Matt Knecht wrote: >Jim Mellander wrote: >>I would be interested in hearing from others about this topic. Without >>some method of ensuring that swapping won't take place between >>identification of the file to be deleted & the actual system call to >>delete the file, cleaning /tmp as root is inherantly insecure. > >It seems an easy solution to this problem would be simply to chmod 700 >/tmp as your script begins, then chmod 1777 before it exits. > >Users complaining about not being able to access /tmp for the small amount >of time this would go on for would need to be educated about the correct >use of /tmp. > >-- >Matt Knecht - Matt... Have you really tried this? OpenWindows uses files in /tmp. I'm guessing that it will be very unhappy if access to /tmp were to disappear. Kevin W. Thomas Sun System Administrator & Meteorologist National Severe Storms Laboratory Norman, Oklahoma Email: kwthomas@wizard.nssl.noaa.gov