[Mageia-discuss] Cannot unmount media as user

Len Lawrence tarazed25 at gmail.com
Sun Jun 10 10:43:46 CEST 2012


Mageia 2 fully updated
GNOME Classic

This is probably a newbie question....  I am not sure when this started 
to happen but when, as a user, I try to unmount a USB drive via the 
desktop icon I am told that I am not authorized to perform that 
operation.  After browsing bugzilla and the forums it looked like the 
best way to get past this would be to use sudo.  However, editing the 
sudoers file always throws up a syntax error.  I have tried various 
commands based on examples but cannot get any to work.

e.g.

ALL /bin/umount NOPASSWD
%users /bin/umount NOPASSWD
%users localhost=/bin/umount NOPASSWD

What is the correct recipe?  RTFM only makes my old brain spin.

Len



More information about the Mageia-discuss mailing list