← Back to team overview

lubuntu-desktop team mailing list archive

Re: BUGS: VISUDO PERMISSION NOT WORKING

 

On Sunday 25,April,2010 10:18 PM, Pierre Yahoo wrote:
> Visudo permissions do not work.  I tried to give myself permissions for
> password-free actions typing sudo visudo in a terminal (e.g. to
> hibernate using a shortcut (launcher) myusername
> ALL=NOPASSWD:/usr/sbin/pm-hibernate or myusername ALL=NOPASSWD:
> /usr/bin/srm to make a secure-delete trashcan).
> 
> It does not work, the same command and launcher worked in Debian and
> Puppy but not in Lubuntu.
> 
> It works, however, if I already signed in with password in a terminal or
> Synaptic.

Works just fine for me in Ubuntu. I don't see why it wouldn't work for you. If
it needs you to sign in with a password first, it means that the NOPASSWD part
isn't working. Try "sudo -k" in a terminal followed by "sudo
/usr/sbin/pm-hibernate" in a terminal and see whether it prompts you for your
password.

-- 
Kind regards,
Chow Loong Jin

Attachment: signature.asc
Description: OpenPGP digital signature


Follow ups

References