someuser at somesystem# modprobe
Fanis Dokianakis
madf at hellug.gr
Wed Sep 11 01:07:01 EEST 2002
On Tue, Sep 10, 2002 at 09:39:41PM +0000, ch40t1c_1 wrote:
> Geia sas
>
> Exo 1 aporia...
>
> 1. pos mporo na kano tin /sbin/modprobe na doulepsei me opoiodipote
> xristi, me tin ennoia oxi na ektelesthei kai na bgalei lathos alla na
> fortosi to module epitixos... Exontas dikaiomata stin modprobe kai
> exontas allaksei ta licenses sto /lib/modules/x.x.x./kernel/drivers/usb
> kai ......../usb/* kai sto group kai sto all users kathe arxeiou se oti
> itan tou root pairno pali permission create_module: permission denied
> lathi apo tin modprobe...
>
Mporeis na kaneis suid to binary (einai to /sbin/insmod to modprobe
einai link). P.x chmod 4755 /sbin/insmod .
OMOS
1. Ean mporei o kathenas na fortosei oti module thelei, tote paei entelos i
asfaleia tou systhmatos sou.
2. Se polles dianomes yparhoun scriptakia (suidmanager px.) pou eleghoun
kapia shmantika arheia gia to suid bit. Isos to na kaneis suid to
modprobe den ehei monimo apotelesma kathos to script tha to epanaferei.
Isos lysi einai na ftiaxeis ena prog/script pou kalei to insmod me ta
modules pou thes kai na einai ayto suid.
Fanis
More information about the Linux-greek-users
mailing list