File association in KDE and managing Groups
Dear Members,
I am using distro RedHat9.0 with kernel 2.4 and using KDE Environment 3.0. I have three questions: 1. How to associate a file.extension with a application and pass the file name to the application, whenever the icon of that file.extension is clicked?? 2.How to give a Group of users certain acess rights to a group of directories owned by other groups?? 3. How to make Panel Buttons/Icons same for any login user I create? Kindly, give me directons to do the same. Regards Mayank Student, MS |
Your questions are pretty easy to answer.
Quote:
The hard way to do this would be to start the kcontrol applications, go to the file association applet, and try to edit these records. I don't recommend this approach. Quote:
groupadd sharedir Then you make this group the owner of the shared directory. If the shared directory was named /home/shared_dir you would enter the following commands. chgrp sharedir /home/shared_dir chmod g+rwx /home/shared_dir Now you add the group sharedir to the list of secondary user groups of the users that should be able to access this directory. Note that you will have to see what these user accounts already have for their secondary accounts because the usermod command requires you to copy them when you add sharedir to the list. For example, if you have a user account named tom. This user account has the primary user group as users. The tom account also has video and audio as secondary user groups. You will have to write the complete list of secondary user groups when you use the usermod command on the tom accounts. Example: groups tom tom : users video audio usermod -G "video, audio, sharedir" tom groups tom tom : users video audio sharedir The tom account will have to log out and log in before he can use the sharedir group added to the account. Quote:
create a template user account configure it the way that you want copy all of the files and directories back to /etc/skel Or, you could read about how to configure the default environment for the window manager that you are using (KDE) at the web site for documentation of that software. |
All times are GMT -5. The time now is 11:46 PM. |