Click to See Complete Forum and Search --> : Adding yourself to a group of users?


Usulsuspct
11-18-2001, 10:44 PM
I have a directory that I would like to make a user for example say userX have access to.

Currenlty the folder is owned by userY. Is there anyway that I can simply add userX to the userY group, and keep userX permissions to his own group intact?

scott_R
11-19-2001, 12:02 AM
Simply add your user to the new group. Using userconf (the user program for many distros) you simply type in the name of the group you want the user to be in. Most users have access to many groups, for the simple reason that it's more secure to split different parts of the system (X, ftp, disk drives, etc.) into separate groups, then add users to those groups, to ensure that no one has access to off-limits parts of the system.

As an after thought, if you simply want to have a directory that two people can share, without sharing other permissions, you could add the directory to a new group, then add the users to that group, as necessary.

[ 18 November 2001: Message edited by: scott_R ]