Add to Favorites
Hosting Discussion
 

forgot password?


Reply


Old
  Post #1 (permalink)   11-20-2003, 07:31 AM
HD Newbie
 
Join Date: Nov 2003
Posts: 4

Status: Linuxjedi is offline
Hi there
I was working on security on a new box.
So i edit sshd_conf and made some changes.
After that i saved and restart sshd i tried loggin in as root
and that worked.
But it was not supose to work because i change it in the conf file.
When i look in sshd_conf i see the changes i made.
But for a strange reason it is not changing on the server

I tried a reboot already still no effect.

Anybody has a idea about this issue

Thanks in advance
 
 
 


Old
  Post #2 (permalink)   01-12-2004, 11:28 AM
HD Newbie
 
Join Date: Jan 2004
Posts: 48

Status: ramprage is offline
Did you change # PermitRootLogin Yes to PermitRootLogin No
and uncomment the line?
__________________
Upload Guardian » File Upload Scanner
Stop iframe hacked pages, shells and more from being uploaded.
WebHostGear.com
Hosting Tutorials, Server Tutorials, Server Help and Security Tools
 
 
 


Old
  Post #3 (permalink)   01-12-2004, 11:41 AM
HD Newbie
 
Join Date: Nov 2003
Posts: 4

Status: Linuxjedi is offline
#LoginGraceTime 120
#PermitRootLogin no
#StrictModes yes


Yep i made the changes but they don't got active.

I have it on two boxes they have cpanel.

I tried locate sshd_conf sshd_config but i cant find another file.

Is the file maby beeing overruled by another?
Can this have something to do with pubkeys or so?

It is driving me nuts.
 
 
 


Old
  Post #4 (permalink)   01-12-2004, 01:42 PM
HD Newbie
 
Join Date: Jan 2004
Posts: 48

Status: ramprage is offline
#LoginGraceTime 120
#PermitRootLogin no
#StrictModes yes

Is the problem: it should be like this!

#LoginGraceTime 120
PermitRootLogin no
#StrictModes yes

Remove the "#" from that line

Steve
 
 
 


Old
  Post #5 (permalink)   01-12-2004, 01:58 PM
HD Newbie
 
Join Date: Nov 2003
Posts: 4

Status: Linuxjedi is offline
Thanks Steve!!!!!!!!!!!


That was my problem

I solved it now great


Martin
 
 
 


Old
  Post #6 (permalink)   01-12-2004, 02:00 PM
HD Newbie
 
Join Date: Nov 2003
Posts: 4

Status: Linuxjedi is offline
I guess that it will be the same for binding it to one IP

Thanks again
 
 
 


Old
  Post #7 (permalink)   01-12-2004, 03:14 PM
HD Newbie
 
Join Date: Jan 2004
Posts: 48

Status: ramprage is offline
MOD NOTE: Post deleted. Advertising material is not allowed in main forums. Please consult the forum rules.
 
 
 
Reply

Thread Tools

New Post New Post   Old Post Old Post
Posting Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On