LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 11-03-2003, 02:11 PM   #1
hbarbosa
LQ Newbie
 
Registered: Nov 2003
Posts: 3

Rep: Reputation: 0
Mounting pendrive as a normal user (non-root)


Hello All,

Does anyone know how to mount a pendrive (usb flash memory)
as a normal user? I mean, without the root password?

I have a 256Mb pendrive by SanDisk and it works fine,
both at linux and windows xp, both at home and at my laptop.
In linux I just do:

su
mount /dev/sda1 -t vfat /mount/pendrive

and everything works fine.... Although, at work, I have to use
their computers and I have no access as root. Is there a
way to do it?

... or I MUST ask for the computer-support to have access to /dev/sda1???


thanks,

hbarbosa
 
Old 11-03-2003, 02:20 PM   #2
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,309

Rep: Reputation: 139Reputation: 139
Quote:
or I MUST ask for the computer-support to have access to /dev/sda1???
That's what you're going to have to do. Ordinary users have access to "mount" only if the line in fstab for the device has the "user" option included. To edit that line you need root privileges. You'll also need to add the "noauto " option for a removable device.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't su into root as normal user darin3200 Linux - General 13 03-18-2010 11:03 AM
mounting problems as normal user wisdom Linux - Networking 1 01-19-2005 10:26 AM
Games runs slow as normal user, but fast as root user mcore Linux - Software 2 06-07-2004 11:11 PM
Root and normal user Smooth Linux - Newbie 4 05-27-2003 10:15 AM
Mounting ISO files as a normal user... Thymox Linux - General 3 02-16-2002 10:32 PM


All times are GMT -5. The time now is 09:53 PM.

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 Google+: linuxquestions
Open Source Consulting | Domain Registration