Date: Sun, 1 Jun 2014 23:17:28 +0200 From: Eduardo Morras <emorrasg@yahoo.es> To: freebsd-questions@freebsd.org Cc: gyliamos@gmail.com Subject: Re: ssh + su problem Message-ID: <20140601231728.9decb4f8b733c26bf040f963@yahoo.es> In-Reply-To: <slrnlokc4u.2it.varro@anukis.local> References: <slrnlokc4u.2it.varro@anukis.local>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 31 May 2014 19:42:23 +0000 (UTC) Will Parsons <varro@nodomain.invalid> wrote: > I have a problem in that I cannot su to root on a FreeBSD machine > remotely from a Windows machine. Note that the user I'm logging in as > *is* a member of the wheel group (and I can su locally just fine). > Symptoms are: > > % su > Password: > su: Sorry > % > > Although I *think* the purpose of the sshd option "PermitRootLogin" is > to (dis)allow *direct* root ssh logins, I changed it to "yes" anyway > in sshd_config, but that doesn't seem to be the problem. > > I'm inclined to think this a server-side configuration issue, since I > get the same result whether I use Cygwin ssh or PuTTY to log in > remotely to the FreeBSD machine. > Try %su - Perhaps it's failing because root user tries to use your user configuration and it has some issue (non existing directory, config incompatible with root user, whatever...) > -- > Will --- --- Eduardo Morras <emorrasg@yahoo.es>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140601231728.9decb4f8b733c26bf040f963>