[opensuse] gnome equivalent to the kde sudo fix? (kwriteconfig --file kdesurc ....)
Listmates, Since I have been using gnome a bit on 11.0, I have poked around but I haven't been able to find a way to allow myself, as a sudo user, to execute apps in gnome that require root authorization without having to enter the root password each time. In both kde3 and kde4, if you are you are set up to use sudo, then simply entering the following in an xterm or in the run command dialog in kde thereafter allows you to run all apps requiring root authorization without being prompted for a password: (all on one line) kwriteconfig --file kdesurc --group super-user-command --key super-user-command sudo Is there an equivalent work-around for gnome 2.2 in 11.0?? -- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sat, 09 Jan 2010 10:04:52 -0600, David C. Rankin wrote:
Listmates,
Since I have been using gnome a bit on 11.0, I have poked around but I haven't been able to find a way to allow myself, as a sudo user, to execute apps in gnome that require root authorization without having to enter the root password each time.
In both kde3 and kde4, if you are you are set up to use sudo, then simply entering the following in an xterm or in the run command dialog in kde thereafter allows you to run all apps requiring root authorization without being prompted for a password:
(all on one line)
kwriteconfig --file kdesurc --group super-user-command --key super-user-command sudo
Is there an equivalent work-around for gnome 2.2 in 11.0??
you need to add yourself to sudoers file. look into man pages for sudo and sudoers. if you want to find it quick than google for it: "http://www.google.com/webhp? hl=en#hl=en&source=hp&fkt=261487&fsdt=270536&q=how+to+add+a+user+to +sudoers+file&aq=1&aql=&aqi=g3&oq=how+to+add+a+user+to +sudo&fp=e8d6ef47431c6a4a" -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 01/11/2010 11:25 PM, Vitorio Okio wrote:
On Sat, 09 Jan 2010 10:04:52 -0600, David C. Rankin wrote:
Listmates,
Since I have been using gnome a bit on 11.0, I have poked around but I haven't been able to find a way to allow myself, as a sudo user, to execute apps in gnome that require root authorization without having to enter the root password each time.
In both kde3 and kde4, if you are you are set up to use sudo, then simply entering the following in an xterm or in the run command dialog in kde thereafter allows you to run all apps requiring root authorization without being prompted for a password:
(all on one line)
kwriteconfig --file kdesurc --group super-user-command --key super-user-command sudo
Is there an equivalent work-around for gnome 2.2 in 11.0??
you need to add yourself to sudoers file. look into man pages for sudo and sudoers.
if you want to find it quick than google for it:
"http://www.google.com/webhp? hl=en#hl=en&source=hp&fkt=261487&fsdt=270536&q=how+to+add+a+user+to +sudoers+file&aq=1&aql=&aqi=g3&oq=how+to+add+a+user+to +sudo&fp=e8d6ef47431c6a4a"
Vitorio, Thank you, but I do not think we are communicating... I am a sudo user and I have configured sudoers with visudo: 01:50 alchemy:~> sudo noc /etc/sudoers Defaults always_set_home Defaults env_reset Defaults env_keep = "LANG LC_ADDRESS LC_CTYPE LC_COLLATE LC_IDENTIFICATION LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER LC_TELEPHONE LC_TIME LC_ALL LANGUAGE LINGUAS XDG_SESSION_COOKIE" Defaults targetpw # ask for the password of the target user i.e. root ALL ALL=(ALL) ALL # WARNING! Only use this together with 'Defaults targetpw'! root ALL=(ALL) ALL %wheel ALL=(ALL) NOPASSWD: ALL 01:50 alchemy:~> grep wheel /etc/group wheel:x:10:david ^^^^^ that's me :p What I need is some way to tell gnome to recognize that I have su/sudo privileges when I click on yast, for example, and then NOT prompt me for a password. As mentioned above this is accomplished with kwriteconfig in kde/kde4. What I need to know is -- "How do you do the same thing in gnome?" -- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sunday, 2010-01-17 at 02:03 -0600, David C. Rankin wrote:
What I need is some way to tell gnome to recognize that I have su/sudo privileges when I click on yast, for example, and then NOT prompt me for a password. As mentioned above this is accomplished with kwriteconfig in kde/kde4.
What I need to know is -- "How do you do the same thing in gnome?"
Dunno. I see they use different methods in 11.0 or 11.2. In 11.0 the command is "/sbin/yast2", which is a script, but I don't see how/where it asks for the password. However, looking at ps, I see that in fact it is calling "gnomesu": gnomesu -- /sbin/yast2 \_ /usr/lib/libgnomesu/gnomesu-pam-backend 16 15 root /sbin/yast2 In 11.2, however, it calls "/usr/bin/xdg-su -c /sbin/yast2". I don't see a xdg-sudo program. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAktTBPgACgkQtTMYHG2NR9VZUQCeObHdv4DkGvzO6SNqF5IQ1wWJ 6j4An2dWsBVJYTHM+91nZ1DmevI4V/ry =5pQ1 -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (3)
-
Carlos E. R.
-
David C. Rankin
-
Vitorio Okio