[CentOS] 'root' ssh login

Wim wdh at belbone.be
Mon Jan 16 12:06:54 UTC 2006


In your sshd configfile, you can disable root login:

*********************************************
/etc/ssh/sshd_config:

PermitRootLogin no
*********************************************

Hope this helps

-- 

Cheers!

Wim De Hul
-----------------------------------------
 Belgacom International Carrier Services
 AS6774
-----------------------------------------
 Tel:     +32 2 547 5151 option 1-3
 Mail:    noc at belbone.be
 Peering: peering at belbone.be
 Abuse:   abuse at belbone.be
-----------------------------------------
 My public key is available at:
  hkp://subkeys.pgp.net
-----------------------------------------

On Mon, Jan 16, 2006 at 11:19:39AM +0000, Tom Brown wrote:
> how can i stop root logging into ssh ? I presume there is a setup file 
> somewhere?
> 
> thanks
> 
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.centos.org/pipermail/centos/attachments/20060116/e23fdac0/attachment.sig>


More information about the CentOS mailing list