RE: Run app as root in X

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




----------------------------------------
> From: hennlar@xxxxxxxx
> To: fedora-list@xxxxxxxxxx
> Date: Sat, 16 Feb 2008 20:25:16 +0100
> Subject: Re: Run app as root in X
> 
> 
> On Sat, 2008-02-16 at 11:26 -0600, Les Mikesell wrote:
>> Henning Larsen wrote:
> 
>>> want to as a regular user be able to edit config files. The safest
>>> would be to get prompted for password, but it is not a must.
>>  
>> 
>> Open a terminal window and type:
>> su -
>> then enter the root password.  You can also set thing up so you can:
>> sudo su -
>> either without a password or with your own password instead of root's.
>> The trailing - means to pick up the login environment so you'll have the 
>> right PATH, etc.
>> 
>> You can then use all command line tools as root in this window or start 
>> X programs by typing their names.  Keep in mind that you aren't limited 
>> to just editing config files in this mode.  You can do anything with 
>> root permissions.
>> 
> OK, I know all this, and it is the way I do things today.
> What I want is a folder on my desktop with links to several config files
> for easier configuration.
> 
> The solution I have so far is to create a launcher on the gnome desktop,
> for the command:
> 	kdesu gedit /path/to/file/name
> It works ok, but I wish I did not have to install lots of kde to make it
> work.
> 
> I can use a bash script file with:
> 	su -c 'gedit /path/to/file/name'
> which is better.
> 
> I have a dream :)
> Is it possible to make a folder as root, make links to all the config
> files, and open that folder using a su command (as regular user) and be
> able to edit the files that way?
> I must try that one.
> 
> Henning Larsen
> 
> 
> -- 
> fedora-list mailing list
> fedora-list@xxxxxxxxxx
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

You could script, or you could just use gksu as mentioned and do the same thing.

_________________________________________________________________
Your Future Starts Here. Dream it? Then be it! Find it at www.seek.com.au
http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fninemsn%2Eseek%2Ecom%2Eau%2F%3Ftracking%3Dsk%3Ahet%3Ask%3Anine%3A0%3Ahot%3Atext&_t=764565661&_r=OCT07_endtext_Future&_m=EXT

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux