Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

User Profiles

In the previous example /opt/kde_staff contained additional settings and applications for staff members. “User Profiles” allow you to add this directory only for certain users and not for others. Add the following to /etc/kderc:

[Directories-staff]
prefixes=/opt/kde_staff

This creates a profile named “staff” that adds the /opt/kde_staff directory tree. (Note that SuSE Linux� uses /etc/kde3rc instead of /etc/kderc. Now that we have a named profile it can be assigned to users.

To map profiles to users a mapping file needs to be specified in /etc/kderc:

[Directories]
userProfileMapFile=/etc/kde-user-profile

It is now possible to assign a profile based on either the user name or based on the UNIX� group the user is part of.

To assign the staff profile to all users that are a member of the UNIX� group staff_members add the following to /etc/kde-user-profile:

[General]
groups=staff_members
[Groups]
staff_members=staff

It is also possible to assign a profile to a single user:

[Users]
bastian=staff



 
 
  Published under the terms of the GNU General Public License Design by Interspire