Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 12-15-2005, 04:08 AM   #1
LQ Newbie
Registered: Sep 2005
Posts: 9

Rep: Reputation: 0
could user (not is root) mount ?

i have user permission in a Linux system , can i mount any device if i not a root ? pls help me !!!!
Old 12-15-2005, 04:18 AM   #2
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 74
Usually only root is allowed to mount devices, but also the setup of your /etc/fstab may enable users to mount devices.
Old 12-15-2005, 09:29 AM   #3
Registered: Feb 2005
Location: Ontario, Canada
Distribution: Gentoo, Slackware
Posts: 345

Rep: Reputation: 30
Alternatively you could configure sudo to give your user the ability to run the mount command.

Then stick an
alias mount="sudo mount"
in your .bashrc file and away you go.
Old 12-15-2005, 11:28 AM   #4
Senior Member
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 59
read the 'user' and/or 'users' options in 'man mount'
Old 12-15-2005, 06:06 PM   #5
Registered: Feb 2004
Location: Canada
Distribution: GNU/Linux Debian (Etch)
Posts: 319

Rep: Reputation: 30
The method in which I have used is the "chmod u+s" to both the /usr/bin/mount and /usr/bin/umount (this may change depending on what distribution you are using). I know many will call this unsafe to allow all users to mount devices but I feel if you have a locked down system this will be safe enough.
Old 12-15-2005, 07:58 PM   #6
LQ Newbie
Registered: Dec 2005
Location: peking
Posts: 6

Rep: Reputation: 0
set "sudo" configuration ,you can have some permission like root's.
Old 12-18-2005, 07:50 PM   #7
LQ Newbie
Registered: Sep 2005
Posts: 9

Original Poster
Rep: Reputation: 0
thanks for all ur supporting !!!!


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 On
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
cannot mount CD ROM on non-root user rsumbeling Linux - Security 4 12-04-2004 01:09 AM
can't mount CD ROM on non-root user rsumbeling Linux - Software 3 12-03-2004 01:13 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

All times are GMT -5. The time now is 06:08 AM.

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