Re: [CentOS] Change from Root

2009-10-27 Thread Neil Aggarwal
ctober 27, 2009 9:52 AM To: CentOS mailing list Subject: Re: [CentOS] Change from Root 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 (

Re: [CentOS] Change from Root

2009-10-27 Thread Les Mikesell
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", b

Re: [CentOS] Change from Root

2009-10-27 Thread Larry Vaden
On Tue, Oct 27, 2009 at 9:51 AM, 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 k

Re: [CentOS] Change from Root

2009-10-27 Thread Neil Aggarwal
500GB/mo premium BW, Zero downtime _ From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf Of Victor Subervi Sent: Tuesday, October 27, 2009 9:52 AM To: CentOS mailing list Subject: Re: [CentOS] Change from Root What I was interested in doing was to m

Re: [CentOS] Change from Root

2009-10-27 Thread Victor Subervi
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

Re: [CentOS] Change from Root

2009-10-26 Thread Neil Aggarwal
> I am not sure what a VPS is VPS stands for virtual private server. Neil -- Neil Aggarwal, (281)846-8957, http://www.JAMMConsulting.com CentOS 5.4 KVM VPS $55/mo, no setup fee, no contract, dedicated 64bit CPU, 1GB dedicated RAM, 40GB RAID storage, 500GB/mo premium BW __

Re: [CentOS] Change from Root

2009-10-26 Thread Alan McKay
I am not sure what a VPS is, but assuming you only have SSH login enabled, then this will do it : grep -i root /etc/ssh/sshd_config #PermitRootLogin yes and restart sshd On Mon, Oct 26, 2009 at 4:05 PM, Victor Subervi wrote: > Hi; > Can someone please remind me how to update my VPS so that I ha