got it!!

thanks .. the little things...

however, i have another question ... how does one go about forcing a new
user to have to immeadiately change their password upon logging in.

i created a new user foo

i did >chage -d 0 foo

when i log in to test, i get the user prompt, when i enter the password for
foo, the window disappears.

any idea as to what i'm doing wrong....

thanks

-bruce
[EMAIL PROTECTED]


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Jay Turner
Sent: Friday, March 21, 2003 11:07 AM
To: [EMAIL PROTECTED]
Subject: Re: disabling root access from ssh login


On Fri, Mar 21, 2003 at 10:44:39AM -0800, Bruce Douglas wrote:
> i tried the following with no luck:
>
> vi to /etc/ssh/ssh_config and added the line:
>
> PermitRootLogin no
>
> i then restarted with
> /etc/rc.d/init.d/sshd restart
>
> i can still login as root...

Right change, wrong file.  You need to make this change in the
"sshd_config" file (as opposed to "ssh_config")  Actually, the stub shoud
PermitRootLogin should already be in the file, so you can just uncomment
the line and change the "yes" at the end to "no" and restart sshd.

"ssh_config" is utilized to configure client ssh usage.

- jkt



--
Psyche-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/psyche-list



-- 
Psyche-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/psyche-list

Reply via email to