On Jan 6 at 21:04, Anthony Atkielski launched this into the bitstream:
Reko Turja writes:
RT Actually not command line options as such, but you can make a login
RT class for the top user in /etc/login.conf and feed the options via TOP
RT environment variable from there.
RT
RT You cant shell out
- Original Message -
From: Anthony Atkielski [EMAIL PROTECTED]
To: freebsd-questions@freebsd.org
Sent: Thursday, January 06, 2005 3:48 AM
Subject: Re: Running top on system console without being logged on
How about creating a user like this with vipw:
topper::userno:groupno::0:0:Topper
Reko Turja writes:
RT Actually not command line options as such, but you can make a login
RT class for the top user in /etc/login.conf and feed the options via TOP
RT environment variable from there.
RT
RT You cant shell out from top and renicing from non root account is
RT impossible (except
I'd like to run top on the system console to keep an eye on the
system,
but I'd prefer not to have the console logged on to do so. Is there
an
elegant way to do this?
How about creating a user like this with vipw:
topper::userno:groupno::0:0:Topper Harley:/nonexistent:/usr/bin/top
and then just
How about creating a user like this with vipw:
topper::userno:groupno::0:0:Topper Harley:/nonexistent:/usr/bin/top
and then just logging in on spare console screen as topper?
I'm not sure if there are security implications though, even if the user
is not member of the wheel group etc.
I've
Anthony Atkielski [EMAIL PROTECTED] writes:
I'd like to run top on the system console to keep an eye on the system,
but I'd prefer not to have the console logged on to do so. Is there an
elegant way to do this?
/etc/ttys is the usual way. I can't seem to get it working quickly, though.
I'd like to run top on the system console to keep an eye on the system,
but I'd prefer not to have the console logged on to do so. Is there an
elegant way to do this?
I know I can start top and redirect output to /dev/console and detach it
from the current terminal with top -s 3 /dev/console ,