Date: Mon, 22 Oct 2007 09:01:18 -0600 From: James <jamesh@lanl.gov> To: "W. D." <WD@us-webmasters.com> Cc: FreeBSD-Questions@freebsd.org Subject: Re: Can login using root password, but not remotely with SSH Message-ID: <1193065278.73574.42.camel@secretariat.lanl.gov> In-Reply-To: <20071022074758.5131513C4A5@mx1.freebsd.org> References: <20071022074758.5131513C4A5@mx1.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 2007-10-22 at 02:21 -0500, W. D. wrote: > Brand new install of FreeBSD 6.2. Can't log in with PuTTY. > > Remote PuTTY: > Access denied Using keyboard-interactive authentication. > > At computer terminal: > PAM authentication error for root from 192.168.XXX.XXX > > Any ideas? > > Thanks! Root logins via ssh are disabled by default. Change this in /etc/ssh/<whichever ssh config file it is> OR you could alternately decide that root logins are *the spawn of satan's loins* via ssh, and do something different. Specifically, if you add your local user account to the wheel group then you can su to root. vi /etc/groups Add yourself to wheel (which is the root group on FreeBSD, a name I believe it inherited from earlier BSDs, but I've no idea what the justification for choosing 'wheel' is; any BSD historians here - you'd be welcome to let us know!) Tada! If you need root logins for something like a running process that wants to communicate via several computers as root, then I assume that: a) your program's broken ;) b) you wouldn't be using putty. So just add yourself to wheel and let the good times roll. James
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1193065278.73574.42.camel>