Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 03-01-2004, 04:39 AM   #1
LQ Newbie
Registered: Mar 2004
Posts: 9

Rep: Reputation: 0
Icon with root privaleges

I am keen to switch from KDE to a lighter desktop, I am considering gnome, Xfce4 or Fluxbox.
There is one thing I am struggling with on all three.
In KDE I can put an icon for my internet connection script on the desktop and tell it to run as root soall I need to do is click the icon and it prompts me for the root password and away it goes.

I cannot work out how to do the same in gnome or xfce or how to do similar for a menu item in fluxbox.

I have heard of suid and sudoer but don't know if this is the answer or how to use them.

Can anyone help please.
Old 03-01-2004, 04:57 AM   #2
Registered: Jul 2003
Location: London
Posts: 548

Rep: Reputation: 30
Well I haven't had much experience with Gnome etc, but I can tell you what sudo is. You specify in a file "/etc/sudoers" who can run things as root [and, if need be, specify that they don't need a password to do so]. Then, that person can just "sudo <command>" and the command will be run as root [they may be prompted for their password].
Old 03-01-2004, 06:08 AM   #3
LQ Newbie
Registered: Mar 2004
Posts: 9

Original Poster
Rep: Reputation: 0
Yes thanks.
What I currently do if I'm not in KDE is open a terminal then SU and put the root password in and then run my Adsl script from the terminal. I am trying to esatblish if there is a slicker way of doing this in a non KDE enviroment.
(It's not a huge deal as I only need to do it once each session)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
RHEL3 Mounting USB after reboot and between reboots: root and non-root users Luis Nunes Linux - Hardware 0 07-20-2005 09:32 AM
OMG where is my /root HOUSE icon DIR!!!!! ClericPreston Linux - Newbie 2 07-07-2004 03:01 PM
Root Icon Problem. novkhan Linux - Newbie 5 06-04-2004 02:41 PM
proftpd user privaleges alimharji Linux - Networking 0 02-08-2004 11:43 PM
root files: create as root:root or root:wheel? pcass Linux - Security 1 02-07-2004 05:14 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:42 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration