Mailinglist Archive: opensuse-security (685 mails)

< Previous Next >
RE: [suse-security] Login questions
  • From: Roland Kuhn <rkuhn@xxxxxxxxxxxxxxxxxxxxxxxxx>
  • Date: Fri, 8 Feb 2002 13:30:56 +0100 (CET)
  • Message-id: <Pine.LNX.4.31.0202081324350.13275-100000@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Hi folks!

On Fri, 8 Feb 2002, José Luis Ledesma wrote:

> try
>
> $echo `</etc/passwd`
>
> with rbash...
>
Looking into the manpage I come to the conclusion that this action is
perfectly allowed by rbash. The statement of the previous poster that
rbash chroots itself is simply wrong. This you have to do yourself.

BTW: you can simply cat /etc/passwd. You only cannot run commands that are
not in the PATH (and some other tricks).

Ciao,
Roland

main(int k,char**p){char*q=p[2];float i,j,r,x,y,a=*q++/4;for(y=a;--y>-
a;puts(""))for(x=0;x++<*q;putchar(p[1][k%9]))for(i=k=r=0;j=r*r-i*i+(x/
*q*q[2]-q[1])/40,i=2*r*i+y/q[3],j*j+i*i<11&&++k<99;r=j);}


< Previous Next >
References