View previous topic :: View next topic |
Author |
Message |
shimp999 Tux's lil' helper


Joined: 07 Oct 2003 Posts: 75 Location: Columbia, SC, USA
|
Posted: Wed Oct 08, 2003 10:01 pm Post subject: ask for root on demand? |
|
|
When I used Gnome before (in another distribution), everytime I wanted to change something or run a program that required root permission (like gdm login), it would ask me for the root password. I just recently emerged Gnome 2.4 and when I try to run the gdm login screen program, it tells me I must be in root to access it. How do I get it so it asks for root password instead? I really dont want to log out of my account, log into root, then make the changes. Thanks |
|
Back to top |
|
 |
meowsqueak Veteran


Joined: 26 Aug 2003 Posts: 1549 Location: New Zealand
|
Posted: Thu Oct 09, 2003 12:16 am Post subject: |
|
|
You can use 'su' to elevate yourself to root privileges, or even 'su -' to log in as root without logging out. Just type 'exit' or ctrl-d to drop back to your normal shell when you're done.
Also, check out 'sudo' which can be used to run a single command as root and ensures that afterwards you are still in the original shell. I use sudo exclusively because I believe it's morally and ethically wrong to log in as root...
(Actually I'm not that bothered).
E.g. you could start gdm with:
Code: | $ sudo /etc/init.d/gdm start |
|
|
Back to top |
|
 |
PowerFactor Veteran


Joined: 30 Jan 2003 Posts: 1693 Location: out of it
|
Posted: Thu Oct 09, 2003 12:51 am Post subject: |
|
|
For gnome to get teh little popup dialog I believe you need to find the .desktop file for the program and insert in the "Exec=" line before the program filename. Assuming they still don't have a menu editor for gnome2. |
|
Back to top |
|
 |
meowsqueak Veteran


Joined: 26 Aug 2003 Posts: 1549 Location: New Zealand
|
Posted: Thu Oct 09, 2003 12:56 am Post subject: |
|
|
Ok, looks like I missed the point of your post - sorry. |
|
Back to top |
|
 |
wdreinhart Guru

Joined: 11 Jun 2003 Posts: 569 Location: 4QFJ12345678
|
Posted: Thu Oct 09, 2003 12:57 am Post subject: |
|
|
PowerFactor wrote: | Assuming they still don't have a menu editor for gnome2. |
Why would gnome need a special app for editing the menu? Is it *that* hard to open Nautilus and type "applications://" in the location bar? |
|
Back to top |
|
 |
PowerFactor Veteran


Joined: 30 Jan 2003 Posts: 1693 Location: out of it
|
Posted: Thu Oct 09, 2003 1:53 am Post subject: |
|
|
wdreinhart wrote: | Why would gnome need a special app for editing the menu? Is it *that* hard to open Nautilus and type "applications://" in the location bar? | Not once you know that's there. Heck, there's nothing hard about editing the files by hand once you figure it out or have someone tell you how.  |
|
Back to top |
|
 |
shimp999 Tux's lil' helper


Joined: 07 Oct 2003 Posts: 75 Location: Columbia, SC, USA
|
Posted: Thu Oct 09, 2003 5:18 am Post subject: |
|
|
ahh, thats what I was looking for, thanks Powerfactor |
|
Back to top |
|
 |
|