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. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
12-15-2005, 04:08 AM
|
#1
|
|
LQ Newbie
Registered: Sep 2005
Posts: 9
Rep:
|
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 !!!!
|
|
|
|
12-15-2005, 04:18 AM
|
#2
|
|
Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
|
Usually only root is allowed to mount devices, but also the setup of your /etc/fstab may enable users to mount devices.
|
|
|
|
12-15-2005, 09:29 AM
|
#3
|
|
Member
Registered: Feb 2005
Location: Ontario, Canada
Distribution: Gentoo, Slackware
Posts: 345
Rep:
|
Alternatively you could configure sudo to give your user the ability to run the mount command.
Then stick an
Code:
alias mount="sudo mount"
in your .bashrc file and away you go.
|
|
|
|
12-15-2005, 11:28 AM
|
#4
|
|
Senior Member
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,538
Rep:
|
read the 'user' and/or 'users' options in 'man mount'
|
|
|
|
12-15-2005, 06:06 PM
|
#5
|
|
Member
Registered: Feb 2004
Location: Canada
Distribution: GNU/Linux Debian (Etch)
Posts: 319
Rep:
|
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.
|
|
|
|
12-15-2005, 07:58 PM
|
#6
|
|
LQ Newbie
Registered: Dec 2005
Location: peking
Posts: 6
Rep:
|
set "sudo" configuration ,you can have some permission like root's.
|
|
|
|
12-18-2005, 07:50 PM
|
#7
|
|
LQ Newbie
Registered: Sep 2005
Posts: 9
Original Poster
Rep:
|
thanks for all ur supporting !!!!
|
|
|
|
| Thread Tools |
Search this 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
HTML code is Off
|
|
|
All times are GMT -5. The time now is 12:12 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|