==> Regarding [autofs] nonroot user umount; Marcos Diez <[EMAIL PROTECTED]> adds:
marcos> Hello everybody! In a Unix desktop system automount is very marcos> practical for CDROMs, digital cameras, USB flash drives and any marcos> other type of removable media. But it is annoying to the marcos> unprivileged user to wait the timeout to remove the media. marcos> Since it is insecure to allow the user to do a "killall -s SIGUSR1 marcos> automount", I wrote a program that does exactly (and only) that. Of marcos> course it must be suid root, but it makes life much easier. I marcos> double verified that there are no buffer overflows and I believe marcos> it's safe. The program is not interactive, so a malicious user marcos> can't do much with it anyway. marcos> It gets the PIDs from instances of automount by parsing marcos> /proc/mounts It would be nice if it could be added to the autofs marcos> distribution. Why not simply use udev/hal? Are you not running a somewhat recent desktop? There are other alternatives, too. Why not simply add an entry to the fstab, specifying "user"? Without good answer to these questions, I'm definitely against adding such a kludge. -Jeff _______________________________________________ autofs mailing list [email protected] http://linux.kernel.org/mailman/listinfo/autofs
