Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Mar 2007 20:48:06 -0500
From:      Jerry McAllister <jerrymc@msu.edu>
To:        Dima Sorkin <dima.sorkin@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: ssh login as root
Message-ID:  <20070311014806.GA42241@gizmo.acns.msu.edu>
In-Reply-To: <e40293600703100755q5ac69e75jb1f012b1f379c15e@mail.gmail.com>
References:  <e40293600703100755q5ac69e75jb1f012b1f379c15e@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Mar 10, 2007 at 05:55:54PM +0200, Dima Sorkin wrote:

> Hi.
> It _seems_ that FreeBSD does not allow root to login remotely via ssh.
> I can miss something, but if I right, how
> do I allow it ?

You can change the config file to allow it, but that is considered
poor security.   The thing to do is to create a non-root account to
log in to and add that id to the wheel group in /etc/group file.
Then log in as that user and su to root only for those things that
need root.

////jerry

> 
> Thanks and regards,
> Dima.
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"



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