Re: Change from Root

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



Victor Subervi wrote:
> What I was interested in doing was to make it impossible for root to 
> login directly, but rather enable other users to login and then su to 
> root. So I edited /etc/ssh/sshd_config to read:
> #PermitRootLogin no
> (It was the dir I didn't know.) It initially said "yes", but it was and 
> is commented. How is it that I then and still can login directly as 
> root? Is reboot necessary?

It's not going to have any effect unless you remove the # sign.  You 
don't need to reboot, but do a 'service sshd restart'.

-- 
   Les Mikesell
    lesmikesell@xxxxxxxxx

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux