Hey
I am trying to achieve having a single Home directory (/home/ds/) but allow multiple users (with different usernames ) to login via the GUI terminal.
The reason being why I need this is on most of our development PC's (all Debian Linux) we have been using a single generic user (ds) for all the developers on all the machines - this is a obvious security risk and we need to give each Linux User their own login - but the problem is even though they all have different login names, now we need them all to use the same home directory as all of their scripts and procedures they use is dependent on the /home/ds directory and all them agreed that they want to keep it the home for all of them.
What I have done is setup a test PC as it is used currently, with the DS user and the home= /home/ds. I created a test user (called itest) and set its home and bash locations in /etc/passwd to the /home/ds directory. I created a group (genusers) and added the itest and DS user to that group. I then recursively chown the /home/ds directory keeping the ds user and setting the new group (genusers) as the group.
#chown -Rv ds:genusers /home/ds
When I login through the Terminal GUI as the DS user it works 100% the user can still access the home directory and functions as normal, but when I login with the itest user it comes back with an error about kstartupconfig. I then change the mode for the directory to give the group read write and execute rights:
#chmod 775 -Rv /home/ds
When trying to login then doesn't popup any error but throws you back to the login screen after flashing black for a second.
After the above II login with the DS user and it logs in with no problem, I then try to login with the itest user it brings up the login Splash (the one as it loads all the devices and bla bla bla) it get stuck their for a while and then finally it gives me a write error for /hom/ds/.ICEauthority
I have tried changing different permisions changed the modes and so forth but can't get it to work :( Am I doing something wrong or am I missing something important?
Is it even possible to allow multiple login users (with different names) to share the Same Home?