Simply putting your user in the /etc/sudoers file doesn’t mean you won’t
get prompted for a password. In order to avoid a password prompt you
also must tell sudo (in the same sudoers file) that you don’t want to be
prompted for a password. There is an example (commented out) in the
default /etc/sudoers file to let this work for the ‘wheel’ group members:
Notice that it says everybody in the wheel group can run anything
anywhere and they can do it with no password prompt. Personally, as
seldom as you should be needing to use sudo in day-to-day stuff, I don’t
think this option is necessary. You can also tell sudo to prompt for
your own user’s password instead of the ‘root’ user’s password which I
do recommend so casual passers-by don’t suddenly start running sudo
nuking your system, and so you have a second to consider if the command
you are running is really necessary and setup properly with ‘root’
privileges.
Good luck.
zilli daniel wrote:
> I tried put my user in the sudores file to avoid yast to ask for
> password every time i open it… but no luck. I am using 11.1 with gnome.
>
>
> any tip ?
> best
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org