[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: SU to root doesn't work !



Correct me if I'm wrong but the PermitRootLogin in /etc/sshd_config is
just to prevent anybody to login as root directly and as nothing to do
with going into su -

I personnaly don't recommend you to enable root logins but I guess it
all depends on your security practices.

Sébastien on your problem .. a WILD guess would be to check for any
types of white space in your group file .. anything, blanks, tabs .. I'm
really not sure if its relevant but it’s a guess.

In the file:

:s/ */Z/g

will change blanks to capital Z's .. make sure your cursor is on the
right line.

Again really not sure if it will help but when everything else fails :)

EricB.
maverick@up2.com


-----Original Message-----
From: owner-misc@openbsd.org [mailto:owner-misc@openbsd.org] On Behalf
Of Fergus Wilde
Sent: September 26, 2001 9:00 AM
To: misc@openbsd.org
Subject: Re: SU to root doesn't work !

Hi Sébastien,

What does it say in the section PermitRootLogin in /etc/sshd_config ?

Mine is set to yes and I don't have any problem using su over ssh -
maybe worth checking it is set to yes?

Best
Fergus

----- Original Message -----
From: "Sébastien Mortier" <smortier@auxicad.fr>
To: "Christopher Linn" <celinn@mtu.edu>; <chris@vindaloo.com>
Cc: <misc@openbsd.org>
Sent: Wednesday, September 26, 2001 11:12 AM
Subject: Re: SU to root doesn't work !


> Ok ! it was a typing error.
> my group file isn't broken and contains the good line :
>
> wheel:*.0:root,semo95wh
>
> So my problem is still alive ! :-(