Re: Solved: Re: Can't install flashplugin.nonfree. ERROR: wget failed to download
On Wed, May 2, 2012 at 6:30 AM, Indulekha <indulekha@theunworthy.com> wrote:
>
> I don't think it's a bug...
> If you add your user to the sudo group and use the line:
>
> yourusername ALL=(ALL) NOPASSWD: ALL
>
> in /etc/sudoers, everything should work and you'll
> get no password prompt. Of course, replace "youusername"
> with your actual username. :)
If you add your user account to /etc/sudoers, there's no need to be in
the sudo group. The configuration in the default /etc/sudoers is
this:
# Allow members of group sudo to execute any command
# (Note that later entries override this, so you might need to move
# it further down)
%sudo ALL=(ALL) ALL
You can just add the NOPASSWORD directive to that line (which I'd not
recommend) if you put the user in the sudo group thusly:
# usermod -G sudo -a username
My recommendation would be to simply use usermod to add your username
to the sudo group and call it done (do not edit /etc/sudoers at all).
You'll then get the same behavior that you see in Ubuntu (with the
exception that root still has a real password).
--
Chris
Reply to: