WARNING! Floppy mount/umount on Sparc2.

Any setuid program to mount/umount the floppy written along the lines

of the posted examples have a security hole.

You have to set the PATH environment variable explicitly within your

c program, as "mount" executes a sub-process (mount_pcfs) using your

path. If a user makes his own program called "mount_pcfs" you're a goner...

I have tried this myself. I'm running 4.1.1

Birger

[416 byte] By [CodeProf.com] at [2007-12-25 7:23:00]