Linux Desktop

mikeshn

Senior member
Oct 9, 2001
367
0
0
I have on Red Hat 7.1 two users (one of which is root and another mike).
When I login as a root I have on my KDE Desktop the root Desktop. Than I changed on the terminal from root to mike.
But I still have the root Desktop. So my question is how can I change the Desktop from root Desktop to mike Desktop.
I know that I have to logout and login, but maybe is anoher way to do thatthe Desktop


Thanks in advance
[
 

clockhar

Senior member
Dec 29, 2000
271
0
0
Why would you want to do that? If at all possible, do NOT login as root (even if you are the only user on your system). Believe me, on this one (I learned the hard way). This opens your system up to security problems, accidental changes to your system that could screw stuff up, etc.
You should merely login as mike and su to root when you need to (then logoff root).

... but back to your question. If you really wanted to do what you're asking, I guess you could delete the desktop folder/link in your root directory and create a link to your "mike" user's desktop folder (ln -s /root/Desktop /home/mike/Desktop) or something to that effect.
 

Derango

Diamond Member
Jan 1, 2002
3,113
1
0


<< What is sudo? >>



It lets certain programs run as root, I believe. I haven't experimented much with it myself.
 

Barnaby W. Füi

Elite Member
Aug 14, 2001
12,343
0
0


<<

<< What is sudo? >>



It lets certain programs run as root, I believe. I haven't experimented much with it myself.
>>


it lets you allow certain users to run certain apps as root with or without entering a password (of course its most useful when they dont have to enter a password :))

pretty easy to use, you just install it, and then edit /etc/sudoers. here's some of mine:

# Cmnd alias specification
Cmnd_Alias HALT=/sbin/halt
Cmnd_Alias AUMIX=/usr/bin/aumix
Cmnd_Alias PUMP=/sbin/pump

# User privilege specification
root ALL=(ALL) ALL
death ALL=NOPASSWD:HALT,NOPASSWD:AUMIX,NOPASSWD:pUMP

death is the name of the user i always use. i.e. he can use halt, aumix, pump without entering a password, by running "sudo halt" "sudo aumix", etc.