LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Closed Thread
  Search this Thread
Old 12-03-2004, 09:38 AM   #1
rsumbeling
Member
 
Registered: Nov 2004
Location: Toronto, Ontario
Distribution: slackware, redhat
Posts: 42

Rep: Reputation: 15
Question cannot mount CD ROM on non-root user


Hi,

I have a question, when logged as non-root to my slack 10, and trying to mount a CD, an error message appears: "only root can mount /dev/cdrom on /mnt/cdrom". what can i do to mount a CD rom while im logged as non-root user? i'm installing the oracle 9i database on my slack 10.

thanx
 
Old 12-03-2004, 09:41 AM   #2
rsumbeling
Member
 
Registered: Nov 2004
Location: Toronto, Ontario
Distribution: slackware, redhat
Posts: 42

Original Poster
Rep: Reputation: 15
by the way, oracle 9i database can't be installed if im logged as root

thanx
 
Old 12-03-2004, 10:29 AM   #3
superbondbond
Member
 
Registered: Nov 2002
Posts: 668

Rep: Reputation: 30
This is default for a slack install.

To change it, edit your fstab, the entry for your cdrom will say "owner."

Code:
/dev/cdrom       /mnt/cdrom       iso9660     noauto,owner,ro  0   0
Change it to "users"
 
Old 12-03-2004, 11:06 AM   #4
rsumbeling
Member
 
Registered: Nov 2004
Location: Toronto, Ontario
Distribution: slackware, redhat
Posts: 42

Original Poster
Rep: Reputation: 15
Thanx superbondbond,

i got another question, when i tried to run the program from that CD rom, i get a permission error:

"-sh: /mnt/cdrom/runInstaller: /bin/sh: bad interpreter: Permission denied"

what can i do to have permission on running programs on CD rom??

thanx
 
Old 12-04-2004, 01:09 AM   #5
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 69
Please do not post the same thread in more than one forum. Picking the most relevant forum and posting it once there makes it easier for other members to help you and keeps the discussion all in one place.

http://www.linuxquestions.org/rules.php

Direct any replies to:
http://www.linuxquestions.org/questi...hreadid=262152
 
  


Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to give not-root user ability to mount devices to any mount point??? jdupre Linux - General 8 02-04-2012 10:03 AM
can't mount CD ROM on non-root user rsumbeling Linux - Software 3 12-03-2004 01:13 PM
mount cdrom as non-root user derfaust Slackware 31 07-30-2004 05:57 PM
Mount Cd as non-root user rayyen Linux - Newbie 4 08-31-2003 09:21 AM
Can't mount as non-root user thepenguinhippy Linux - Newbie 4 07-30-2003 03:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 05:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration