[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Remoteaufruf eines Kommandos



Simon Eilting <d-u-g@cupcake.is-a-geek.net> wrote:
> Mario 'BitKoenig' Holbe wrote:
>> Was hat der PATH damit zu tun, welche binaries jemand ausfuehren darf?
> In rbash darf man nur Programme ausführen, die im PATH stehen.

Ah, den rbash-Bezug hab ich uebersehen, sorry :)
Is allerdings trotzdem ein kleines Stueck Arbeit - insbesondere wenn man
eine halbwegs gesicherte Umgebung fuer die Ausfuehrung von
Shell-Scripten bauen will:

holbe@darkside:/home/holbe% rbash
holbe@darkside:~$ /bin/true
rbash: /bin/true: restricted: cannot specify `/' in command names
holbe@darkside:~$ bash
holbe@darkside:~$ /bin/true
holbe@darkside:~$ exit
holbe@darkside:~$ exit
holbe@darkside:/home/holbe% 


regards
   Mario
-- 
I heard, if you play a NT-CD backwards, you get satanic messages...
That's nothing. If you play it forwards, it installs NT.



Reply to: