Avatar of lundrog
lundrogFlag for United States of America

asked on 

How to lockdown KDE Desktop Icons and Desktop Menu's in mandrake 10.1

We have been rolling out mandrake 10.1 running KDE.

However, Is there a way to lock down the desktop Icons and Desktop Menu's in KDE so people can't delete , rename, and / or move them?
Linux Security

Avatar of undefined
Last Comment
ahoffmann
Avatar of wesly_chen
wesly_chen
Flag of United States of America image

Lock the desktop icons, toolbar:
Append the following two lines into $KDEDIR/share/config/kdeglobals
-----
 [KDE Action Restrictions][$i]
editable_desktop_icons=false
movable_toolbars=false
----
Such as:
echo '[KDE Action Restrictions]' >> ~/.kde/share/config/kdeglobals
echo 'editable_desktop_icons=false' >> ~/.kde/share/config/kdeglobals
echo 'movable_toolbars=false' >> ~/.kde/share/config/kdeglobals

Then logout and log back in to KDE

Regards,

Wesly
Avatar of ahoffmann
ahoffmann
Flag of Germany image

Wesly, and what restricts the user to remove these settings again?

I'd chmod 444 the files and make them owned by root, and also chmod +t the corresponding directory
Avatar of lundrog
lundrog
Flag of United States of America image

ASKER

Ok the icons works great.

however, you can still edit and move toolbars.

Is it possible just to disable rightclick?

thanks
Avatar of wesly_chen
wesly_chen
Flag of United States of America image

action/kdesktop_rmb=false <==right mouse button mouse button menu on the desktop.
action/kicker_rmb=false <==right mouse button mouse button menu on the panel.
movable_toolbars=false <==Defines whether toolbars may be moved around by the user.
icon=false

Note the use of [$i] immutable flag to prevent users from overriding these restrictions in their own kdeglobals file.

Wesly
ASKER CERTIFIED SOLUTION
Avatar of wesly_chen
wesly_chen
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of ahoffmann
ahoffmann
Flag of Germany image

hmm, these docs do not describe how to restrict the user to remove the restrictions
hope you're aware of that
Linux Security
Linux Security

The Linux operating system, in all its flavors, has its own share of security flaws that allow intrusions, but there are various mechanisms by which these flaws can be removed, generally divided into two parts: authentication and access control. Authentication is responsible for ensuring that a user requesting access to the system is really the user with the account, while access control is responsible for controlling which resources each account has access to and what kind of access is permitted.

5K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo