Mount ISO as CDROM without root privileges Linux

Hello. I'm using
Linux 3.2.0-4-686-pae #1 SMP Debian 3.2.63-2+deb7u1 i686 GNU/Linux

Usually I use the command:
sudo mount -t iso9660 -o loop ~/[NameOfFile].iso /media/iso
to see an ISO image as DVD movie

Now I need to be helped by some friends to review several movies. I want to know if they can do that without root nor sudo privileges.

Thanks.
ConsJMEAAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
andreasConnect With a Mentor System AdminCommented:
Most easy and convenient way would be the use of fuseiso.

https://help.ubuntu.com/community/FuseIso
0
 
serialbandConnect With a Mentor Commented:
You can add them to a group in /etc/sudoers and limit the sudo command to mount.

For instance:
Create a group named isomount

groupadd isomount
Add users to the group
useradd -G isomount username

After you add the group members, use visudo to edit /etc/sudoers  (make sure you set your EDITOR to your prefered version  export EDITOR=vi  or export EDITOR=emacs so you don't get stuck with an editor you're not familiar with.)

Add the following line to the file.  This allows everyone in the group isomount to run /bin/mount/ as user root and group root on ALL hosts using sudo.
%isomount  ALL=(root:root) /bin/mount

Open in new window

0
 
gheistCommented:
You can unzip ISO image with 7zip if that helps
0
 
ConsJMEAAuthor Commented:
Thanks all. Andreas's suggestion has worked very well. Serialband's suggestion is interesting for several situations that I need to solve with Linux.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.