FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora User

 
 
LinkBack Thread Tools
 
Old 02-07-2011, 09:38 AM
Jatin K
 
Default GNOME kdesu?

On Monday 07 February 2011 03:45 PM, Chris Smart wrote:
> Anyone know the GNOME version of kdesu? I thought it used to be gtksu
> or something, but I can't find it.
>
> I have a script which I want to run as root, so in KDE I have kdesu
> '/path/to/script' - how can I do this in GNOME?
>
> Thanks,
> -c
su -c '/path/to/script' ----


or may be gksu ..here[1]

[1] http://live.gnome.org/gksu

--
°v°
/(_)
^ ^ Jatin Khatri
Registerd Linux user No #501175
www.counter.li.org
No M$

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 02-07-2011, 09:42 AM
Chris Smart
 
Default GNOME kdesu?

On Mon, Feb 7, 2011 at 9:38 PM, Jatin K <ssh.fedora@gmail.com> wrote:
> su -c '/path/to/script' * * ----
>

I didn't mention that the script is a graphical program which is
launched by a .desktop file, so I never see the prompt to put in the
password if I use su or sudo. Thanks for the link to gksu, that's what
I used to use.. not in Fedora though. I've found beesu, which might do
the trick :-)

-c
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 02-07-2011, 09:59 AM
Hiisi
 
Default GNOME kdesu?

On Mon, 2011-02-07 at 21:42 +1100, Chris Smart wrote:
> I didn't mention that the script is a graphical program which is
> launched by a .desktop file, so I never see the prompt to put in the
> password if I use su or sudo. Thanks for the link to gksu, that's what
> I used to use.. not in Fedora though. I've found beesu, which might do
> the trick :-)

What's the name of the program? One can usually find the actual command
executed by desktop icon examining it's properties. IMHO, there's not
yet a thing that can't be done in text mode. And hopefully will never
be.
--
Not only Guinness - Linux is good for you, too.
-- Banzai on IRC

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 02-07-2011, 09:09 PM
Chris Smart
 
Default GNOME kdesu?

On Mon, Feb 7, 2011 at 9:59 PM, Hiisi <hiisi@fedoraproject.org> wrote:
> What's the name of the program? One can usually find the actual command
> executed by desktop icon examining it's properties. IMHO, there's not
> yet a thing that can't be done in text mode. And hopefully will never
> be.

It's a bash script that uses kdialog/zenity for interaction, which I
run from the applications menu. So, it's just a link to
/usr/local/bin/my-script

-c
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 02-09-2011, 11:26 AM
Rahul Sundaram
 
Default GNOME kdesu?

On 02/07/2011 03:45 PM, Chris Smart wrote:
> Anyone know the GNOME version of kdesu? I thought it used to be gtksu
> or something, but I can't find it.
>
> I have a script which I want to run as root, so in KDE I have kdesu
> '/path/to/script' - how can I do this in GNOME?

beesu should help

Rahul
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 02-09-2011, 09:02 PM
Chris Smart
 
Default GNOME kdesu?

On Wed, Feb 9, 2011 at 11:26 PM, Rahul Sundaram <metherid@gmail.com> wrote:
>
> beesu should help

Yep, thanks Rahul. I've added this and it works fine - would be good
if it respected sudoers though, instead of always prompting for root's
password :-) I saw another post about doing it the "proper" way with
console-helper, which looks interesting. I don't think that I can use
PolicyKit for it, because it's just a shell script.

Cheers,
-c
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 02-09-2011, 09:36 PM
Steven Stern
 
Default GNOME kdesu?

On 02/07/2011 04:15 AM, Chris Smart wrote:
> Anyone know the GNOME version of kdesu? I thought it used to be gtksu
> or something, but I can't find it.
>
> I have a script which I want to run as root, so in KDE I have kdesu
> '/path/to/script' - how can I do this in GNOME?
>
> Thanks,
> -c

man consolehelper

or see http://fedoranews.org/contributors/matt_hansen/nautilus/
for a tutorial


--
-- Steve
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 02-09-2011, 09:53 PM
Chris Smart
 
Default GNOME kdesu?

On Thu, Feb 10, 2011 at 9:36 AM, Steven Stern
<subscribed-lists@sterndata.com> wrote:
> or see http://fedoranews.org/contributors/matt_hansen/nautilus/
> for a tutorial

Yep, that's the post I saw, thanks :-)

-c
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 02-10-2011, 08:19 PM
Rahul Sundaram
 
Default GNOME kdesu?

On 02/10/2011 03:32 AM, Chris Smart wrote:
> On Wed, Feb 9, 2011 at 11:26 PM, Rahul Sundaram <metherid@gmail.com> wrote:
>> beesu should help
> Yep, thanks Rahul. I've added this and it works fine - would be good
> if it respected sudoers though, instead of always prompting for root's
> password :-) I saw another post about doing it the "proper" way with
> console-helper, which looks interesting. I don't think that I can use
> PolicyKit for it, because it's just a shell script.

File a RFE. I think it is actively maintained.

Rahul
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 02-10-2011, 09:21 PM
Chris Smart
 
Default GNOME kdesu?

On Fri, Feb 11, 2011 at 8:19 AM, Rahul Sundaram <metherid@gmail.com> wrote:
>
> File a RFE. *I think it is actively maintained.
>

OK. I had thought that GNOME was moving away from this sort of thing
(i.e. gksu) to PolicyKit. I think beesu/gksu is still useful, though!

-c
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 

Thread Tools




All times are GMT. The time now is 10:32 AM.

VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org