ssh + su problem
Eduardo Morras
emorrasg at yahoo.es
Sun Jun 1 21:20:16 UTC 2014
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...)
> --
> Will
--- ---
Eduardo Morras <emorrasg at yahoo.es>
More information about the freebsd-questions
mailing list