tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* [SUMMARY] - running top from oracle account
@ 1997-10-14 22:45 Susan Rodriguez
  0 siblings, 0 replies; only message in thread
From: Susan Rodriguez @ 1997-10-14 22:45 UTC (permalink / raw)
  To: tru64-unix-managers

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1997-10-14 22:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-10-14 22:45 [SUMMARY] - running top from oracle account Susan Rodriguez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox