Code: Select all
%users ALL=(ALL) ALL, NOPASSWD: /bin/umount, /bin/mount
Code: Select all
%users ALL=(ALL) ALL, NOPASSWD: /bin/umount, /bin/mount
djemos wrote:also check if in /etc/sudoers file the following line exists.Code: Select all
%users ALL=(ALL) ALL, NOPASSWD: /bin/umount, /bin/mount
Code: Select all
# cat /etc/sudoers
# This file MUST be edited with the 'visudo' command as root.
# Failure to use 'visudo' may result in syntax or file permission errors
# that prevent sudo from running.
#
# See the sudoers man page for the details on how to write a sudoers file.
#
# Host alias specification
# User alias specification
# Cmnd alias specification
# Defaults specification
# Runas alias specification
# User privilege specification
root ALL=(ALL) ALL
# Uncomment to allow people in group wheel to run all commands
# %wheel ALL=(ALL) ALL
# Same thing without a password
# %wheel ALL=(ALL) NOPASSWD: ALL
# Samples
# %users ALL=/sbin/mount /cdrom,/sbin/umount /cdrom
# %users localhost=/sbin/shutdown -h now
Code: Select all
root:x:0:root
bin:x:1:root,bin
daemon:x:2:root,bin,daemon
sys:x:3:root,bin,adm
adm:x:4:root,adm,daemon
tty:x:5:
disk:x:6:root,adm
lp:x:7:lp,zack
mem:x:8:
kmem:x:9:
wheel:x:10:root,zack
floppy:x:11:zack
mail:x:12:mail
news:x:13:news
uucp:x:14:uucp
man:x:15:
dialout:x:16:uucp
audio:x:17:zack
video:x:18:zack
cdrom:x:19:zack
games:x:20:
slocate:x:21:
utmp:x:22:
smmsp:x:25:smmsp
tape:x:26:
mysql:x:27:
rpc:x:32:
sshd:x:33:sshd
gdm:x:42:
shadow:x:43:
ftp:x:50:
oprofile:x:51:
apache:x:80:
messagebus:x:81:
haldaemon:x:82:
plugdev:x:83:zack
power:x:84:zack
netdev:x:86:zack
pop:x:90:pop
scanner:x:93:zack
nobody:x:98:nobody
nogroup:x:99:
users:x:100:
console:x:101:
vboxusers:x:1000:zack
tor:x:220:
privoxy:x:206:
avahi:x:214:
pulse:x:216:
Code: Select all
%users ALL=(ALL) ALL, NOPASSWD: /bin/umount, /bin/mount
Code: Select all
#visudo
Code: Select all
%users ALL=(ALL) ALL, NOPASSWD: /bin/umount, /bin/mount
Code: Select all
# cat /etc/sudoers
# sudoers file.
#
# This file MUST be edited with the 'visudo' command as root.
# Failure to use 'visudo' may result in syntax or file permission errors
# that prevent sudo from running.
#
# See the sudoers man page for the details on how to write a sudoers file.
#
# Host alias specification
# User alias specification
# Cmnd alias specification
# Defaults specification
# Runas alias specification
# User privilege specification
root ALL=(ALL) ALL
# Uncomment to allow people in group wheel to run all commands
# %wheel ALL=(ALL) ALL
%users ALL=(ALL) ALL, NOPASSWD: /bin/umount, /bin/mount
# Same thing without a password
# %wheel ALL=(ALL) NOPASSWD: ALL
# Samples
# %users ALL=/sbin/mount /cdrom,/sbin/umount /cdrom
# %users localhost=/sbin/shutdown -h now
Code: Select all
cd /opt/VirtualBox
sh uninstall.sh
I still can't access removable storage media. VBox is not the problem, as it seems.djemos wrote:As i understand it is not a VirtualBox problem but
To make things simpler for find a solution i suggest to remove VirtualBox.
as root type(you can install it later) and try to mount removable media again.Code: Select all
cd /opt/VirtualBox sh uninstall.sh