Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Feb 2005 02:48:59 +0100
From:      Anthony Atkielski <atkielski.anthony@wanadoo.fr>
To:        freebsd-questions@freebsd.org
Subject:   Re: Running top without a shell -- more questions
Message-ID:  <77133904.20050206024859@wanadoo.fr>
In-Reply-To: <20050205172451.A49675@starfire.mn.org>
References:  <51563600.20050205125343@wanadoo.fr> <20050205100125.C47038@starfire.mn.org> <971531375.20050206000007@wanadoo.fr> <20050205172451.A49675@starfire.mn.org>

next in thread | previous in thread | raw e-mail | index | archive | help
John writes:

J> No, there are HUGE security concerns.  The big problem is that
J> many things have shell escapes.  Top, as far as I know, does not.

But it's shell escapes that generally create the security concerns, no?
Except for things like buffer overflows, but of course all FreeBSD
software was written by seasoned programmers who know much better than
to not check for buffer overflows.

J> No, no!  I am not suggesting changing the standard software!  I'm
J> not saying to change getty or login, just the usual configuration
J> file that controls where the system runs gettys (or xdm, or what
J> have you).  This is no more changing "standard software" than
J> making entries in rc.conf.

Hmm ... okay.  But I try to avoid changing stuff like that, too.  It
always seems to get lost in the shuffle if I have to update the OS.

J> Look - if this makes you more comfortable - just turn off logins
J> ENTIRELY on one ttyv.  Then use the program I wrote to just run
J> top on the ttyv on which logins are no-longer allowed.  You could
J> start it with cron or /etc/rc.d something instead of /etc/ttys.
J> It doesn't matter how it gets started - the point is, NO LOGIN AT
J> ALL is allowed on that terminal - how is that a security risk?
J>
J> You don't have to log in as top or root or anything - no logins -
J> top just runs as the user YOU specify....

Okay, I'll consider it.  Thanks.

-- 
Anthony




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?77133904.20050206024859>