Mailinglist Archive: opensuse (2114 mails)
| < Previous | Next > |
Re: [opensuse] Howto by pass ssh /etc/nologin
- From: Aaron Kulkis <akulkis3@xxxxxxxxxx>
- Date: Wed, 05 Sep 2007 00:52:18 -0400
- Message-id: <46DE3602.1050804@xxxxxxxxxx>
Fajar Priyanto wrote:
Duh..that's the freaking POINT of /etc/nologin!
Here's an idea -- THINK before you post!
You REMOVE it.
nologin...nologin...no login.... gee, what could that POSSIBLY mean???
DUH.
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
Hi all,
I'm trying to show a demo on how to modify PAM so that /etc/nologin is bypass by ssh. I have modified /etc/pam.d/sshd:
#%PAM-1.0
auth include common-auth
#auth required pam_nologin.so
account include common-account
password include common-password
session include common-session
When I try to ssh into the PC, I get logged in, but immediately got kicked out. In /var/log/messages I see this:
sshd : User fajar is not allowed because /etc/nologin exists
Duh..that's the freaking POINT of /etc/nologin!
Here's an idea -- THINK before you post!
I have 'grep -r nologin /etc
And have commented some of the entries in apparmor too, but still cannot login. I once succeeded in bypassing /etc/nologin, but I forget how.
You REMOVE it.
nologin...nologin...no login.... gee, what could that POSSIBLY mean???
DUH.
Thank you very much,
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
| < Previous | Next > |