How to allow non root users to mount floppy/cdrom?

How to allow non root users to mount floppy/cdrom?

Post by Davi » Wed, 10 Nov 1999 04:00:00



Hi folks,

again a (maybe stupid) question: Is it possible to allow non root users to
mount floppy/cdrom drives?

Thanks in advance, David.

 
 
 

How to allow non root users to mount floppy/cdrom?

Post by Miguel Rodriguez Penaba » Wed, 10 Nov 1999 04:00:00



> Hi folks,

> again a (maybe stupid) question: Is it possible to allow non root users to
> mount floppy/cdrom drives?

> Thanks in advance, David.

add "user" (without quotes) to the options of the floppy/CD in
/etc/fstab

--
=========================================================================

Laboratorio de Bases de Datos           http://emilia.dc.fi.udc.es/labBD
Facultade de Informtica               Universidade da Coru?a (Spain)
Debian 2.1 [2.2.13]                     Usuario Linux 124962
=========================================================================

 
 
 

How to allow non root users to mount floppy/cdrom?

Post by Davi » Wed, 10 Nov 1999 04:00:00


Miguel - Gracias - David

> add "user" (without quotes) to the options of the floppy/CD in
> /etc/fstab

 
 
 

How to allow non root users to mount floppy/cdrom?

Post by Gerald Willman » Wed, 10 Nov 1999 04:00:00



> again a (maybe stupid) question: Is it possible to allow non root users to
> mount floppy/cdrom drives?

definitely, put this line in your fstab

/dev/fd0      /mnt/floppy        auto         defaults,noauto,user 0 0

and then type mount /mnt/floppy or whatever your mount point is (if you
don't have one yet create one, mkdir /mnt/floppy as root should do).

                 Gerald

--

 
 
 

How to allow non root users to mount floppy/cdrom?

Post by <waltermullerorla.. » Wed, 17 Nov 1999 04:00:00




> > again a (maybe stupid) question: Is it possible to allow non root users
to
> > mount floppy/cdrom drives?

When you say

Quote:

> definitely, put this line in your fstab

> /dev/fd0      /mnt/floppy        auto         defaults,noauto,user 0 0

How is this done , in an editor like joe?

Quote:

> and then type mount /mnt/floppy or whatever your mount point is (if you
> don't have one yet create one, mkdir /mnt/floppy as root should do).

>                  Gerald

> --

------------------  Posted via CNET Linux Help  ------------------
                    http://www.searchlinux.com
 
 
 

How to allow non root users to mount floppy/cdrom?

Post by Anita Lew » Wed, 17 Nov 1999 04:00:00





>> definitely, put this line in your fstab

>> /dev/fd0      /mnt/floppy        auto         defaults,noauto,user 0 0

>How is this done , in an editor like joe?

Yes, use an editor and edit /etc/fstab

Anita

 
 
 

How to allow non root users to mount floppy/cdrom?

Post by Gerald Willman » Wed, 17 Nov 1999 04:00:00



Quote:> When you say

> > definitely, put this line in your fstab

> > /dev/fd0      /mnt/floppy        auto         defaults,noauto,user 0 0

> How is this done , in an editor like joe?

don't know about joe but make a backup copy of fstab (cp fstab fstab.bak).
Then use your favorite text editor (joe, pico, emacs, vi, ...) on
fstab.bak and try long enough until you have succeeded in adding that line
and then move your new version of fstab into place (mv fstab.bak fstab).

   Gerald

--

 
 
 

How to allow non root users to mount floppy/cdrom?

Post by Spik » Thu, 18 Nov 1999 04:00:00



Quote:> When you say

>> definitely, put this line in your fstab

>> /dev/fd0      /mnt/floppy        auto         defaults,noauto,user 0 0
> How is this done , in an editor like joe?

All linux configuration is doen in editors like joe/vi/emacs...

--
______________________________________________________________________________

|    Andrew Halliwell BSc   | "ARSE! GERLS!! DRINK! DRINK! DRINK!!!"         |
|             in            | "THAT WOULD BE AN ECUMENICAL MATTER!...FECK!!!!|
|      Computer Science     | - Father Jack in "Father Ted"                  |
------------------------------------------------------------------------------
|GCv3.12 GCS>$ d-(dpu) s+/- a C++ US++ P L/L+ E-- W+ N++ o+ K PS+  w-- M+/++ |
|PS+++ PE- Y t+ 5++ X+/X++ R+ tv+ b+ DI+ D+ G e++ h/h+ !r!|  Space for hire  |
------------------------------------------------------------------------------

 
 
 

1. Allow non-root user to format floppy?

I just chmod a+wr /def/fd0H1440 to allow user to format floppy.  But I
don't knoe if it's a say way?

Also, I have to chmod a+wr /def/fd0 in order to allow user use mtools.  
Did I do it right?

What are the right ways?

Thank you.

-- joe
--------------------------------------------------------------------------
Joseph Y Chen, Grad Student             Civil Engineering, Uni. of Arizona

(+1) (602) 622-6981 (home)              (+1) (602) 621-5719 (work)
1201 E Drachman, #154/Tucson, AZ 85719/USA

2. porting from AIX to Solaris

3. Allowing non-root user to mount fs.

4. Weird load behaviour under 1.3.67

5. how to allow users to mount floppy/cdrom

6. serial adapter

7. how to mount floppy as non-root user?

8. parse command line argument

9. Cannot Mount floppy as Non-root User

10. run a non-root user's program from a non-root user

11. How to mount floppy as non-root user

12. mounting floppies/disks by non-root users

13. mounting /dev/cdrom from non-root user?