Help - Search - Members - Calendar
Full Version: Terminal in "Super User Mode" in Gnome.
Neowin Forums > *nix Customization & Support > Customizing your *nix Desktop
PatrikJohansson88
The thing is that i have installed Fedor Core 3 on my computer and both KDE and Gnome.
In KDE there is a choice in the menu called "Terminal Super User Mode" wich allows me to run all diffrent kinds of commands, but in Gnome i cant find this alternative, i can just find the standard Terminal but if i choose that i cant run all commands sad.gif for example Ifconfig .
Even if i login as root (su).

Does anyone have a solution?
mutantcol
yeah, click the applications menu, then click system tools. Choose terminal


To go into super user mode, type "su" then it'll ask you for your root password, type it in, and you'll be in super user mode smile.gif
PatrikJohansson88
The problem is that even if i do so i can still not run commands like "Ifconfig" !
But if i use KDE i can do so in "Super User Terminal" ?????????????????
mutantcol
Well, that binary (Ifconfig) is in sbin, so you need to do:


/sbin/Ifconfig

that'll launch it. Or you can make a link to it, and place it in /usr/bin. Then to launch it next time all you have to type is Ifconfig
PatrikJohansson88
Thanks,
how do you make a link??? smile.gif
mutantcol
QUOTE(PatrikJohansson88 @ Dec 11 2004, 10:14)
Thanks,
how do you make a link??? smile.gif
[right][snapback]585082444[/snapback][/right]


Right click a file and choose "make link"

You might have to start nautilus in super user mode, then browse for the file. Otherwise you won't have permission to make the link.



You should realy be doing it from the command line though, with this command:


ln FILE DIRECTORY -s


eg.....

ln /usr/bin/wine /home/colin/Desktop -s


But you'll be wanting to put the link in the /usr/bin folder anyway if you're wanting to make starting programs easier, so you will need root privileges
markjensen
Another (and perhaps better) alternative is to just add /sbin/ to your normal user's $PATH.

It avoids messy links, and just allows Linux to look in the system binaries to find commands as a normal user. thumbs_up.gif
hornett
No, just run

su -

instead of su.

smile.gif

That way you get all root's paths etc instead of your normal user's, no need to type /sbin before anything.
markjensen
^^^ Ahhh... Linux. More than 100 ways to skin that cat. rofl.gif
mutantcol
heh cool, thanks for all those.... I've been using linux full time for about 5 months now, thoroughly enjoying it. Definately still got a lot to learn
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.