Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Nov 2001 09:55:54 +0100
From:      Erik Trulsson <ertr1013@student.uu.se>
To:        Anthony Atkielski <anthony@atkielski.com>
Cc:        Mike Meyer <mwm@mired.org>, questions@freebsd.org
Subject:   Re: Lockdown of FreeBSD machine directly on Net
Message-ID:  <20011102095554.A38169@student.uu.se>
In-Reply-To: <00b501c1637b$1cd2f880$0a00000a@atkielski.com>
References:  <15330.23714.263323.466739@guru.mired.org> <00b501c1637b$1cd2f880$0a00000a@atkielski.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Nov 02, 2001 at 09:48:13AM +0100, Anthony Atkielski wrote:
> Mike writes:

> > Everyone is going to tell you to kill telnetd
> > - and they are probably right, as sshd lets
> > you do all that.
> 
> Except that sshd isn't letting me log in as root.  When I try that, it says:
> "Sorry, you are not allowed to connect."  But I changed the remotes to secure in
> ttys, and I put the PermitRootLogin to "yes" in sshd_config.  What else do I
> have to do?  SSH works for other accounts.

You should not log in directly as root.  What you should do is login as
a normal user and then use 'su' to become root.
This requires that the user you login as is in the 'wheel' group.


-- 
<Insert your favourite quote here.>
Erik Trulsson
ertr1013@student.uu.se

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?20011102095554.A38169>