* Alternative /sbin/it workaround?
@ 2000-12-15 11:35 system administration account
0 siblings, 0 replies; 2+ messages in thread
From: system administration account @ 2000-12-15 11:35 UTC (permalink / raw)
To: tru64-unix-managers
Someone claiming to be "Paul Szabo" has been recommending that we disable
/sbin/it and /sbin/init.d/rmtmpfiles on our Tru64 systems. Apparently that
person expects us to do it on faith. The words "social engineering" come
to mind.
I have looked at /sbin/it (and /sbin/init.d/rmtmpfiles) and concluded that
whatever problems there may be are most likely related to unwarranted
assumptions about the contents of the /tmp directory. That being the case,
let me suggest an alternative workaround for /sbin/it:
1) Create a directory /root_tmp, owned by root.root, mode 0700.
2) Edit /sbin/it so that TMP_PATH=/root_tmp instead of the current
TMP_PATH=/tmp .
As for rmtmpfiles, replacing /tmp/pty_list with /root_tmp/pty_list
should also work around the problem. Alternatively, one could play with
find and xargs and remove the need for the temporary file entirely.
(Hopefully the permanent fix from Compaq will do this.)
Something like
find /dev -type c -name 'tty[a-ce-zA-Z][0-9a-f]' \
-exec /bin/chown root:system {} \; \
-exec /bin/chmod 666 {} \;
and similarly for /dev/pts . It's a shame that find can't select on the
device major number, but that's life. (Perl's File::Find module can do
it, of course.)
^ permalink raw reply [flat|nested] 2+ messages in thread
* Alternative /sbin/it workaround?
@ 2000-12-17 20:33 psz
0 siblings, 0 replies; 2+ messages in thread
From: psz @ 2000-12-17 20:33 UTC (permalink / raw)
To: tru64-unix-managers
system administration account <sysadmin@astro.su.se> wrote:
> Someone claiming to be "Paul Szabo" has been recommending that we disable
> /sbin/it and /sbin/init.d/rmtmpfiles on our Tru64 systems. Apparently that
> person expects us to do it on faith.
No: I expected system managers to scrutinize /sbin/it and rmtmpfiles, and
disable or patch them if they are deemed a security vulnerability for their
systems.
> The words "social engineering" come to mind.
Why the bitterness? Could not you "break root"?
> ... let me suggest an alternative workaround ...
The idea of /root-tmp is not new; it is not necessary in this case, /etc
will do nicely.
By publishing your 'workaround' you gave out info which may assist an
attacker: rmtmpfiles is not normally world readable.
Your 'find /dev ...' suggestion will not work on V5 systems where /dev is a
symlink: you need to use 'find /dev/ ...' there.
Paul Szabo - psz@maths.usyd.edu.au http://www.maths.usyd.edu.au:8000/u/psz/
School of Mathematics and Statistics University of Sydney 2006 Australia
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2000-12-17 20:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-12-15 11:35 Alternative /sbin/it workaround? system administration account
-- strict thread matches above, loose matches on Subject: below --
2000-12-17 20:33 psz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox