LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 08-29-2004, 01:20 PM   #1
Jskill007
LQ Newbie
 
Registered: Aug 2004
Location: From California, stationed in Germany with the Army, and now Deployed to Iraq until July 2005
Distribution: Slackware 10.2
Posts: 8

Rep: Reputation: 0
Superuser for Mount?


As a normal user I am unable to mount drives. I tried to change the permissions of /bin/mount to 777 but I receive "mount: must be superuser to use mount". How can I upgrade my normal account to a superuser?
 
Old 08-29-2004, 01:24 PM   #2
ringwraith
Senior Member
 
Registered: Sep 2003
Location: Indiana
Distribution: Slackware-current
Posts: 1,240

Rep: Reputation: 46
You need to edit /etc/fstab so that the drive in question has user instead of owner
 
Old 08-29-2004, 01:54 PM   #3
Nikon01
Member
 
Registered: Jul 2003
Distribution: Slackware 10.0
Posts: 196

Rep: Reputation: 30
The above didn't work for me, so as a second option you can setup sudo. Just type "visudo" w/o quotes of course and add in the line "USER_NAME ALL=(ALL) NOPASSWD: ALL" and save it. You do have to use vi but it's pretty simple to find a simple how to use vi guide off of google.
 
Old 08-29-2004, 02:37 PM   #4
Jskill007
LQ Newbie
 
Registered: Aug 2004
Location: From California, stationed in Germany with the Army, and now Deployed to Iraq until July 2005
Distribution: Slackware 10.2
Posts: 8

Original Poster
Rep: Reputation: 0
I updated my fstab to this however I still receive the same error that only superuser can mount.

/dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro,user 0 0
 
Old 08-29-2004, 02:43 PM   #5
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,068
Blog Entries: 4

Rep: Reputation: 385Reputation: 385Reputation: 385Reputation: 385
replace the word "owner" with the word "user" (and take out the second "user")
 
Old 08-29-2004, 10:53 PM   #6
ringwraith
Senior Member
 
Registered: Sep 2003
Location: Indiana
Distribution: Slackware-current
Posts: 1,240

Rep: Reputation: 46
/dev/scd0 /mnt/cdrw iso9660 noauto,user 0 0

just as an example
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
superuser terminal Nic-MDKman Linux - General 8 02-06-2009 06:24 PM
I do not have superuser power halfpower Debian 4 08-20-2005 09:02 AM
Superuser CJ_Grobler Linux - Newbie 7 06-13-2005 09:35 PM
Must be superuser to use mount... fstab is correct, however. dokterneo Slackware 8 02-11-2004 04:01 PM
superuser snu *BSD 5 07-22-2003 09:48 PM


All times are GMT -5. The time now is 10:17 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration