Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Sep 2001 13:25:46 +0300
From:      Ruslan Ermilov <ru@FreeBSD.ORG>
To:        Todd Reed <ex279@hotmail.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: shutdown -k & root login from telnet
Message-ID:  <20010918132546.B4648@sunbay.com>
In-Reply-To: <F242VakNHo2qddYsIL50001232f@hotmail.com>; from ex279@hotmail.com on Mon, Sep 17, 2001 at 01:04:22PM -0500
References:  <F242VakNHo2qddYsIL50001232f@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Sep 17, 2001 at 01:04:22PM -0500, Todd Reed wrote:
> I've got two issues I'm trying to resolve.
> 
> 1.  When I do a "shutdown -k now", it doesn't kick off any users.  I created 
> a regular user with no groups, etc.  Logged in had that user, then from 
> another telnet session, I logged in as myself and done a shutdown -k.  
> Nothing happened except that a message was displayed.  When I logged out, I 
> couldn't log back in, that was good; but I thought users in the wheel groups 
> would be able to log in?
> 
The shutdown(8) manpage is clear on that: for all but super-user.

> 2.  Why doesn't FreeBSD allow users to login as root from a telnet session 
> (I know it due to security)?  I had to go to the server to reboot the 
> system.  I can always su, but I couldn't because of the shutdown -k.  Is 
> there a way to allow it to?
> 
Sure, mark all pseudo-ttys as ``secure'' in /etc/ttys.


Cheers,
-- 
Ruslan Ermilov		Oracle Developer/DBA,
ru@sunbay.com		Sunbay Software AG,
ru@FreeBSD.org		FreeBSD committer,
+380.652.512.251	Simferopol, Ukraine

http://www.FreeBSD.org	The Power To Serve
http://www.oracle.com	Enabling The Information Age

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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