[opensuse] Howto by pass ssh /etc/nologin

2007-06-04 Thread Fajar Priyanto
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 includecommon-auth #auth required pam_nologin.so account includecommon-account password includecommon-password sessi

Re: [opensuse] Howto by pass ssh /etc/nologin

2007-06-04 Thread Bjoern Voigt
Fajar Priyanto <[EMAIL PROTECTED]> wrote: 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 includecommon-auth #auth required pam_nologin.so [...] When I try to ssh into the PC, I get log

Re: [opensuse] Howto by pass ssh /etc/nologin

2007-06-04 Thread Anders Johansson
On Monday 04 June 2007 23:25, Bjoern Voigt wrote: > Fajar Priyanto <[EMAIL PROTECTED]> wrote: > > 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 includecommon-auth > > #auth requir

Re: [opensuse] Howto by pass ssh /etc/nologin

2007-06-04 Thread Fajar Priyanto
On Tuesday 05 June 2007 05:04, Anders Johansson wrote: > Yes it is, but at least in 10.1 and 10.2, it is disabled if UsePAM is set > to yes in /etc/ssh/sshd_config. In ssh versions before 4.3p1 it was always > checked Yes, I confirm this. On 10.2 I can ssh into it even there's /etc/nologin after

Re: [opensuse] Howto by pass ssh /etc/nologin

2007-06-04 Thread Anders Johansson
On Tuesday 05 June 2007 01:39, Fajar Priyanto wrote: > The machine that I'm trying to give the demo is SLES10. No, I was confused. I was sure I was testing it on a 10.1 and a 10.2, but in fact it was two 10.2 machines. 10.1 (and SLES 10 and SLED 10) have openssh 4.2p1, so it still checks /etc/no

Re: [opensuse] Howto by pass ssh /etc/nologin

2007-06-04 Thread Fajar Priyanto
On Tuesday 05 June 2007 07:12, Anders Johansson wrote: > On Tuesday 05 June 2007 01:39, Fajar Priyanto wrote: > > The machine that I'm trying to give the demo is SLES10. > > No, I was confused. I was sure I was testing it on a 10.1 and a 10.2, but > in fact it was two 10.2 machines. 10.1 (and SLES

Re: [opensuse] Howto by pass ssh /etc/nologin

2007-06-05 Thread Anders Johansson
On Tuesday 05 June 2007 02:37, Fajar Priyanto wrote: > On Tuesday 05 June 2007 07:12, Anders Johansson wrote: > > On Tuesday 05 June 2007 01:39, Fajar Priyanto wrote: > > > The machine that I'm trying to give the demo is SLES10. > > > > No, I was confused. I was sure I was testing it on a 10.1 and

Re: [opensuse] Howto by pass ssh /etc/nologin

2007-09-04 Thread Aaron Kulkis
Fajar Priyanto wrote: 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 includecommon-auth #auth required pam_nologin.so account includecommon-account password include