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 !!!!
|
Usually only root is allowed to mount devices, but also the setup of your /etc/fstab may enable users to mount devices.
|
Alternatively you could configure sudo to give your user the ability to run the mount command.
Then stick an Code:
alias mount="sudo mount" |
read the 'user' and/or 'users' options in 'man mount'
|
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.
|
set "sudo" configuration ,you can have some permission like root's.
|
thanks for all ur supporting !!!!
|
All times are GMT -5. The time now is 04:28 AM. |