Mailinglist Archive: opensuse (1196 mails)
| < Previous | Next > |
Re: [opensuse] Re: gnome equivalent to the kde sudo fix? (kwriteconfig --file kdesurc ....)
- From: "David C. Rankin" <drankinatty@xxxxxxxxxxxxxxxxxx>
- Date: Sun, 17 Jan 2010 02:03:23 -0600
- Message-id: <4B52C44B.6010601@xxxxxxxxxxxxxxxxxx>
On 01/11/2010 11:25 PM, Vitorio Okio wrote:
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@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
On Sat, 09 Jan 2010 10:04:52 -0600, David C. Rankin wrote:
Listmates,but I
Since I have been using gnome a bit on 11.0, I have poked around
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@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
| < Previous | Next > |