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 Secure-Shell
[Top] [All Lists]

OpenSSH_3.8.1p1 PermitRootLogin with bastille

Subject: OpenSSH_3.8.1p1 PermitRootLogin with bastille
Date: Tue, 1 Mar 2005 18:12:50 +0100
Hi lists,

I have a debian sarge box with running this kind of ssh:
OpenSSH_3.8.1p1 Debian-8.sarge.4, OpenSSL 0.9.7e 25 Oct 2004

/etc/ssh/sshd_config:
...
PermitRootLogin no
...

It normally blocks the requests successfully, but after installing and configuring manually the bastille, root is able to login with ssh.
(I used bastille -c to configure it "manually" with Question/Answer interface)


Bastille Config
By the way bastille should be configured that root couldn't login directly
$/etc> sudo cat bastille-no-login
root

$ cat /etc/Bastille/config
...
# Q: Should we disallow root login on all ttys? [N]
AccountSecurity.rootttylogins="Y"
...

----------------------------------------
root login works :(

client:~ sszuecs$ ssh root@server
Password:
Last login: Tue Mar 1 17:29:34 2005 from client.zedat.fu-berlin.de
root@server:~# ----------------------------------------


Any hints?
Perhaps I missunderstood something?

sincerly yours, Sandor Szuecs
--

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