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

Rob De Langhe rob.delanghe at telindus.be
Fri Mar 21 08:11:07 EST 2003


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 at 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 at sunmanagers.org
> http://www.sunmanagers.org/mailman/listinfo/sunmanagers
_______________________________________________
sunmanagers mailing list
sunmanagers at sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers




More information about the summaries mailing list