Date: Wed, 18 Mar 1998 12:48:40 -0500 From: Matthew Hunt <mph@pobox.com> To: Mark Castillo <markc@Relationships.com>, freebsd-questions@FreeBSD.ORG Subject: Re: ssh and root logins. can you disable? Message-ID: <19980318124840.13094@mph124.rh.psu.edu> In-Reply-To: <199803181036.FAA24117@ Relationships.com>; from Mark Castillo on Wed, Mar 18, 1998 at 09:37:36AM -0800 References: <199803181036.FAA24117@ Relationships.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Mar 18, 1998 at 09:37:36AM -0800, Mark Castillo wrote: > currently, my ssh installation allows root to login remotely. Is this ok? > Or is there a way do disable remote logins via ssh for root? Well, I'm sure it's okay for some folks, and unacceptable to others. At least ssh won't be sending the root password in cleartext over the net, but you may still prefer that administrators have to "su" to become root. If you want to disable root logins, then add: PermitRootLogin no to /usr/local/etc/sshd_config, and restart sshd. There may already be a "PermitRootLogin yes" line, in which case you should just change the "yes" to "no". -- Matthew Hunt <mph@pobox.com> * Think locally, act globally. http://mph124.rh.psu.edu/~mph/pgp.key for PGP public key 0x67203349. 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?19980318124840.13094>