On Tue, Dec 11, 2001 at 03:13:49PM +0100, Lilja, Michael wrote: > Hi All, > > I have started using the RTlinux 3.1 package on Redhat 7.1 but have a > problem when performing 'make devices'. > > It only works if I log in as root (which I can). > > I have several other developers who might need to perform the 'make > devices' command also, and they do not have root privileges and will not > gain root privileges, so how can I get the 'make devices' run. > The problem is that non-root users cannot use the 'mknod' command. > > Hope someone has an answer (and I'm not interested in fakeroot)
Well... technically, I guess you could do one of a few things: 1) Make mknod setuid root 2) give everyone write access to /dev... Why do multiple people need to do this? It only needs to be run once per filesystem with /dev on it. If you're using devfs, then you can just write a script to set up the devices at boot-time. Remember: mortal punters should never, ever, ever be allowed to do what you're asking to let the mortal punters do. And last point: In order for your developers to then run a RT task, they need to be able to run insmod. Which is just a downright daft thing to allow mortals to do. And running it setuid is hardly a good idea... If you're going to allow that in any way, the root account on your box can be breahched instantly. In fact, slightly worse than root is that you're allowing 100% kernel access to anything. Gary (-; -- [rtl] --- To unsubscribe: echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED] -- For more information on Real-Time Linux see: http://www.rtlinux.org/
