SUMMARY: force login as user, then "su" to root: not working for SSH

From: Rob De Langhe (rob.delanghe@telindus.be)
Date: Fri Mar 21 2003 - 08:11:07 EST


SUMMARY:

a massive amount of replies, all listing the same and simple reason:

in [/usr/local/etc/]sshd_config, uncomment the line

PermitRootLogin yes

and change the value from 'yes' to 'no' :

PermitRootLogin no

Then stop and restart the sshd daemon (take care that you don't kick out any
users currently logged in...).

Thanks to all !

Rob

> -----Original Message-----
> From: Rob De Langhe
> Sent: vrijdag 21 maart 2003 07:28
> To: 'sunmanagers@sunmanagers.org'
> Subject: force login as user, then "su" to root: not working for SSH
>
>
> Hi,
>
> I did uncomment the line "CONSOLE=/dev/console" in the file
> /etc/default/login (Solaris-9), but it still allows me to
> login directly as
> "root" from a network connection using SSH to the SSHD server
> on the target
> host.
>
> Any reason why? Has it something to do with entries in /etc/pam.conf ?
>
> Any help is mostly appreciated !
>
> Rob De Langhe
> Belgium
> _______________________________________________
> sunmanagers mailing list
> sunmanagers@sunmanagers.org
> http://www.sunmanagers.org/mailman/listinfo/sunmanagers
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:26:02 EDT