[linux] suid a kernel

Michal Toth michal.toth na oracle.com
Pondělí Červenec 15 17:33:55 CEST 2002


[root na armageddon tmp]# ls -l t*
-rw-------    1 root     root           20 júl 15 17:14 tajne
-rwsr-xr-x    1 root     root           22 júl 15 17:19 test*
[root na armageddon tmp]# cat test
/usr/bin/less ./tajne
[root na armageddon tmp]# cat tajne
toto je tajny subor
[root na armageddon tmp]# su user
[mtoth na armageddon tmp]$ ./test
tajne: Permission denied


rovnaky vysledok aj pomocou tcsh, chyba bude zrejme velmi idiotska. Nemoze
ma niekto nakopnut?

riki wrote:

> urcite nie, ale ak ti nieco dropuje privilegia tak to bude bash2 ;)))
>
> >
> > toto je asi banalna otazka, ale:
> >
> > je v kerneli (standardnom 2.4) zakomponovane nieco co brani spustaniu
> > setuid skriptov?
>
> --
> "You are granted absolutely no right to use this software whatsoever."
> "Make your own version!!"
>
> _______________________________________________
> http://lists.linux.sk/listinfo/linux
> http://search.lists.linux.sk
------------- další část ---------------
Netextová příloha byla odstraněna...
Jméno: smime.p7s
Typ: application/x-pkcs7-signature
Velikost: 1970 bytes
Popis: S/MIME Cryptographic Signature
Url : http://lists.linux.sk/pipermail/linux/attachments/20020715/74e2ecb0/attachment.bin 


Další informace o konferenci linux