Re: How to bypass /etc/passwd's shell

From: Murat Koc (muratkoc@linux.org.tr)
Date: 08/06/01


Date: Mon, 6 Aug 2001 17:50:17 +0300 (EEST)
From: Murat Koc <muratkoc@linux.org.tr>
To: Mathieu Jobin <somekool@MyTradeCenter.com>
Subject: Re: How to bypass /etc/passwd's shell
Message-ID: <Pine.LNX.4.31.0108061744420.20380-100000@yukleme1.frontsite.com.tr>


Hi,

> can you really add this line BEFORE #!/bin/bash
>
> > add this line at the beginning of this script before #!/bin/bash
> >
> > trap "" 2
> >
> > and for other signals (kill -l)
> >

just try it

_your_favorite_editor traptry

-----------------------------
trap "" 2
#!/bin/bash
sleep 5

-----------------------------

chmod 755 traptry
./traptry

and press ctrl_c

                                                                MURAT KOC



Relevant Pages