You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Wednesday, December 3rd 2003, 10:52am

Konqueror superuser mode

I am a newbie - can somebody spell out for me how to set it up so I can open Konqueror as a superuser so I can do stuff without having to log into KDE as root and do it or go into a terminal and su?

Thanks

2

Wednesday, December 3rd 2003, 9:27pm

Use the Menu Editor. Change the command line to read "kdesu -- sudo kfmclient.....". Just add the 'kdesu --sudo ' in front of whatever is there. You will also have to be set up as a sudoer for this to work. You may have to edit the /etc/sudoers file to set this up. Usually this is just a matter of uncommenting the last line in the sudoers file by removing the # from in front of it.

3

Friday, December 5th 2003, 3:04pm

I have been trying to figure this out for weeks, just followed your advice, but still can't do it. Here's what I did:
1) as ROOT, I typed EDITOR=kate visudo
2) I then changed sudoers. It now reads as follows:
# sudoers file.
# This file MUST be edited with the 'visudo' command as root.
# See the sudoers man page for the details on how to write a sudoers file.
# Host alias specification
# User alias specification
# Cmnd alias specification
# Defaults specification
# User privilege specification
root ALL=(ALL) ALL
# Uncomment to allow people in group wheel to run all commands
# %wheel ALL=(ALL) ALL
# Same thing without a password
# %wheel ALL=(ALL) NOPASSWD: ALL
# Samples
# %users ALL=/sbin/mount /cdrom,/sbin/umount /cdrom
# %users localhost=/sbin/shutdown -h now
# ADDED December 4, 2003
lawrencegoodman ALL=(ALL) ALL

lawrencegoodman is the user I want to be able to have kdesu provileges, but when I type the command nothing happens. Do you know what's going on? Thanks.

4

Friday, December 5th 2003, 3:07pm

Sorry, I should have added that when I type kdesu -- sudo kfclient . . . from the command line, I get this error:

kdesu: WARNING: Daemon not safe (not sgid), not using it.

Maybe this means something?

Lawrence

5

Saturday, December 6th 2003, 2:06pm

Well, it turns out there is a very simple solution to this problem.

In kmenueditor, create a command:

konqueror -profile filemanagement

and then tell it to run it as a different user. Works brilliantly.

Man, the amount of time you can throw away on Linux. It can really be frustrating.