Users loading modules

Declan Moriarty junk_mail at iol.ie
Sat Aug 6 12:59:05 PDT 2005


Ever since I went to a 2.6 kernel here (on my LFS-5.0 installation) I
have been having permission problems loading modules as a user. I had to
sort something, because glibc will now not compile on a 2.4 kernel

Changing the perms on /sbin/modprobe to 4755 sorted the problem, and a 
user can load away now. But 0755 was fine on the old programs

-rwxr-xr-x  1 root   root   31593 2003-12-14 21:36 /sbin/insmod*
-rwxr-xr-x  1 root   root     359 2003-12-14 21:33 /sbin/insmod_ksymoops_clean*
-rwxr-xr-x  1 root   root  101860 2003-12-14 21:33 /sbin/insmod.old*
-rwxr-xr-x  1 root   root 4741951 2003-12-14 21:36 /sbin/insmod.static*
-rwxr-xr-x  1 root   root   53505 2003-12-14 21:36 /sbin/modinfo*
-rwxr-xr-x  1 root   root   44140 2003-12-14 21:33 /sbin/modinfo.old*
-rwsr-xr-x  1 root   root   80901 2003-12-14 21:36 /sbin/modprobe*
lrwxrwxrwx  1 root   root      10 2003-12-14 21:34 /sbin/modprobe.old -> insmod.old*


Is the sky going to fall in, or have I comitted the unforgiveable sin?
(More likely) what have I done wrong. We have changed from modutils to
module-init-tools (0.9.15pre4), modules.conf to modprobe.conf and of 
course kernels.

Is this a security hazard? 

-- 

	With best Regards,


	Declan Moriarty.



More information about the blfs-support mailing list