ssh + su problem
Will Parsons
varro at nodomain.invalid
Tue Jun 3 21:48:19 UTC 2014
Eduardo Morras wrote:
> On Sat, 31 May 2014 19:42:23 +0000 (UTC)
> Will Parsons <varro at 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...)
No - doesn't help. (Again, note that there's no problem su-ing
locally, only after loggin in remotely with ssh.)
--
Will
More information about the freebsd-questions
mailing list