From: Susan Rodriguez <SUSROD () HBSI ! COM>
To: tru64-unix-managers
Subject: [SUMMARY] - running top from oracle account
Date: Tue, 14 Oct 1997 22:45:07 +0000 [thread overview]
Message-ID: <96078618110438.tru64-unix-managers.marc@archive.invalid> (raw)
Original problem:
could only see partial output when running the top command.
Thanks to
Robert McMillin
Donald Rye
Knut Hellebo
all of whom had helpful suggestions. After checking tty (stty -a) and
the variable LD_LIBRARY_PATH, I was still no wiser. I finally stumbled
on the answer. There was another copy of top in oracle's home directory
- one I did not know about and one that should not have been there. I
think someone tried to fix their own problem before coming to the system
administrator.
Since oracle's PATH is setup to look in the HOME directory before
/usr/local/bin, it was running the wrong top command. There was no
setuid on top in oracle's home dir., so it could not run the command
properly. I removed that copy of top and now the command runs fine.
Also, it was suggested to me that having top with setuid AND 777
permissions is a security problem. I have heard this before but don't
know why it is a problem, or how it can be used by hackers. chmod 2755
/usr/local/bin/top was suggested, but that failed to allow top to run
correctly - back to no processes on the screen. chmod 4755
/usr/local/bin/top does work, adding the setuid, but revoking write from
group and other.
Thanks again,
Susan Rodriguez
susrod@hbsi.com
reply other threads:[~1997-10-14 22:45 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox