View Single Post
  #1   (View Single Post)  
Old 16th December 2009
carpman carpman is offline
Shell Scout
 
Join Date: Jul 2008
Posts: 94
Default prevent root ssh access

Hello, ok i want to prevent root access via ssh over network, thing is i need to have
Code:
PermitRootLogin without-password

so need to find another method, i did find a guide that said

Code:
Edit /etc/securetty

comment out everything except for the lines

    * console
    * tty1
    * v/tty1

thing is this file is not on my freeebsd 6.3 ?

cheers
Reply With Quote