change to root
Posted 09 October 2003 - 12:27 AM
I have one basic question. I use Suse 8.2 Prof.. with KDE..
So if I want to change a file in e.g. etc/x11 or somewhere where I need administration rights (root), how do I get those without logging out and again log in as a root? also opening a console and typing in the su command doesn't help me... how do I get the rights for just this moment? with the Yast it works because automatically it opens a small window asking for the root-password, but I'd like this also for the other things I do..
Well, thx for your help anyway :-)
Posted 09 October 2003 - 06:24 AM
Posted 09 October 2003 - 09:13 AM
in other words... the su command is in the console window... the file is in the konqueror window.. and I don't have permission to change it..
..for whatever reason
Posted 10 October 2003 - 08:33 AM
When you launch the editor, open the file and have fun
I suppose your problem comes from the point that, you think that if you open the console and write su, you're root everywhere, but indeed it's only the console where you have the rights. Of course you can launch konqueror from within the console as root, or you can use the same way to launch konq with root rights, as you open the editor (see above). I suggest using the mc application, for me it does the work perfectly, without the need of opening konqueror. Just move to the etc dir, select the file and press F4, edit it and press F10 to save and F10 to quit again
Posted 12 October 2003 - 05:27 AM
To change from the default Suse Menu to the Standard KDE Menu, open the Control Center, go to Appearance, then Menu. Change the radio button from Suse Menu to Standard KDE Menu.
If you do not want to go through all of that, you can make a shortcut on your desktop to Konqueror. When you create the shortcut, go to the Execute Tab on the Properties Windows. At the bottom of the Execute Tab, there is an option to run the program as another user. Specify "root" here and click "OK" on the properties window. Whenever you open that shortcut, it will prompt you for the root password. You will then be able to use Konqueror with root permissions.
Hope this helps.