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

disabling root access from ssh login



hi.

new to linux. i want to disable direct root login/access to my linux (rh8.0)
box. i want to have the user have to login as user foo, and then have to su
to root.

is there an easy/quick way to do this?

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...

thanks...

bruce
bedouglas earthlink net






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