← Back to team overview

lubuntu-desktop team mailing list archive

Re: BUGS: VISUDO PERMISSION NOT WORKING

 

Thats a really bad idea and destroys system security completely.
I strongly advise nobody to do this, its a REALLY bad idea.

On Sun, Apr 25, 2010 at 4:11 PM, Chow Loong Jin <hyperair@xxxxxxxxx> wrote:

> 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
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~lubuntu-desktop
> Post to     : lubuntu-desktop@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~lubuntu-desktop
> More help   : https://help.launchpad.net/ListHelp
>
>

References