Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Focus-Sun
[Top] [All Lists]

Re: cant block root login

Subject: Re: cant block root login
Date: Fri, 13 Aug 2004 23:37:12 +1000
On Tue, Aug 10, 2004 at 11:25:52AM +0100, Laurence Moughan wrote:
I have a pile of solaris 8 machines @ 117000-01 
Hardened and running openssh 3.8.1p1
with my /etc/default/login  
CONSOLE=/dev/console

OpenSSH doesn't read /etc/default/login (nor does Solaris 9 SSH,
although Solaris 10 does)

and my sshd_config 
#PermitRootLogin yes

OK, so it's commented out and thus the default will be in effect.

However i can still ssh in and remotly login directly as root.

So it sounds like the default value for PermitRootLogin is Yes.

Clues guys ?

Put the following in sshd_config and restart sshd :
PermitRootLogin No

  Scott

<Prev in Thread] Current Thread [Next in Thread>