Solved

Mount ISO as CDROM without root privileges Linux

Posted on 2014-12-29
4
380 Views
Last Modified: 2015-01-02
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.
0
Comment
Question by:ConsJMEA
4 Comments
 
LVL 11

Accepted Solution

by:
andreas earned 400 total points
ID: 40522438
Most easy and convenient way would be the use of fuseiso.

https://help.ubuntu.com/community/FuseIso
0
 
LVL 28

Assisted Solution

by:serialband
serialband earned 100 total points
ID: 40522636
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
 
LVL 61

Expert Comment

by:gheist
ID: 40522783
You can unzip ISO image with 7zip if that helps
0
 

Author Closing Comment

by:ConsJMEA
ID: 40528191
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

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
bad ownership or modes for chroot directory 6 64
Realtek Audio Driver problem 20 73
Choosing CentOS 16 52
Penetration Testing home based work 3 50
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Tired of waiting for your show or movie to load?  Are buffering issues a constant problem with your internet connection?  Check this article out to see if these simple adjustments are the solution for you.
This video will demonstrate how to customize windows, tools, and control bars, and save them as screen sets. Open and resize windows: Customize the toolbar: Customize the control bar: Customize your tool selections: Your screen set is alread…
Viewers will learn how to include realistic velocity sensitivity to their Sampler instruments. Set the Vol<Vel parameter in the Filter/Global tab to your desired setting: Gather samples of hits of various intensity, and drag/drop into Velocity zon…

912 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now