yast ask for password

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


zilli_daniel

zilli_daniel’s Profile: http://forums.opensuse.org/member.php?userid=17706
View this thread: http://forums.opensuse.org/showthread.php?t=402487

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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:

<quote source="/etc/sudoers" os=“SLED 10 SP2 x86_64”>

Same thing without a password

%wheel ALL=(ALL) NOPASSWD: ALL

</quote>

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

iD8DBQFJTnhq3s42bA80+9kRAp26AJ95QxPbTsRujT39n8x5KnULsA726wCaA9VG
nXJHHQhbTSPR+9q+xjnW7QE=
=Shjm
-----END PGP SIGNATURE-----

thank you for your explanation but didn’t work. In this link
i have the solution for KDE, but not to GNOME.

‘Default kdesu to use sudo and not su | Ben Kevan’s Blog’
(http://www.benkevan.com/blog/default-kdesu-to-use-sudo-and-not-su/)

:frowning:


zilli_daniel

zilli_daniel’s Profile: http://forums.opensuse.org/member.php?userid=17706
View this thread: http://forums.opensuse.org/showthread.php?t=402487

@Mon, 22 Dec 2008 01:16:02 +0000, zilli daniel write:

> thank you for your explanation but didn’t work. In this link i have the
> solution for KDE, but not to GNOME.
>
> ‘Default kdesu to use sudo and not su | Ben Kevan’s Blog’
> (http://www.benkevan.com/blog/default-kdesu-to-use-sudo-and-not-su/)
>
> :frowning:

I did not understand why you have a problem with this… I have sudo with no pass working good…

open yast2 now(/sbin/yast2) alt+F2
Security&Users>Sudo

window appear

press add

new window appear

Users, Group - %UserNamethatRunSudo
Host- ALL
RunAs-ALL
click in box with no password

Add command(button) - put “ALL” in upper field

PS
is this what you want?

WBR

I think he wants the same as when logged in as root.
no password prompts to bug you.
correct me if I am wrong.
you might as well log in as root


danger! brain at work

dillj’s Profile: http://forums.opensuse.org/member.php?userid=2532
View this thread: http://forums.opensuse.org/showthread.php?t=402487

Log in as root ?!?!?!?


Henk van Velden

hcvv’s Profile: http://forums.opensuse.org/member.php?userid=180
View this thread: http://forums.opensuse.org/showthread.php?t=402487

dillj is right…

just look this link
‘Default kdesu to use sudo and not su | Ben Kevan’s Blog’
(http://www.benkevan.com/blog/default-kdesu-to-use-sudo-and-not-su/)

and you will know what i am talking…


zilli_daniel

zilli_daniel’s Profile: http://forums.opensuse.org/member.php?userid=17706
View this thread: http://forums.opensuse.org/showthread.php?t=402487