mount question

2005-04-28 Thread Helmut Jarausch
Hi, is there (in Linux) a method to let non-root users mount a CDROM AND specify a session? The standard user(s) option in /etc/fstab does not allow to specify a session at mount time. Is the only way to write some SUID prog/script which does this? Many thanks for a hint, Helmut Jarausch Lehrst

Re: mount question

2005-04-28 Thread Karl-Heinz Herrmann
On Thu, 28 Apr 2005 14:06:29 +0200 (CEST) Helmut Jarausch <[EMAIL PROTECTED]> wrote: > is there (in Linux) a method to let non-root users mount > a CDROM AND specify a session? > The standard user(s) option in /etc/fstab does not allow > to specify a session at mount time. > Is the only way to wri

Re: mount question

2005-05-02 Thread Joerg Schilling
Karl-Heinz Herrmann <[EMAIL PROTECTED]> wrote: > The only way I know is a little program. Since you can't make a > shell-script suid root and if you don't want to write in C this might > help: > > http://www.comeaucomputing.com/faqs/ccshfaq.html Suid shell scripts work since approx. 25 years. Th

Re: mount question

2005-05-03 Thread Greg Wooledge
On Mon, May 02, 2005 at 05:44:52PM +0200, Joerg Schilling wrote: > Suid shell scripts work since approx. 25 years. Only on *some* operating systems. On others, the setuid/setgid bits are ignored when the kernel handles the shebang. Example 1: imadev:~$ uname -a HP-UX imadev B.10.20 A 9000/785 20