Find the answer to your Linux question:
Results 1 to 3 of 3
Hi! have a question may be sounds strange but really need this! Need to let different users share same data and contents on a pc. I don't mean permissions to ...
  1. #1
    Just Joined!
    Join Date
    Nov 2005
    Posts
    4

    multiple users sharing same /home?

    Hi! have a question may be sounds strange but really need this!
    Need to let different users share same data and contents on a pc.
    I don't mean permissions to write,read,execute on other's /home
    They have to share same space,settings,mail,etc.etc
    Is there a way to get this?
    thank a lot for help
    Ciao
    Emanuele

  2. #2
    Linux Engineer GNU-Fan's Avatar
    Join Date
    Mar 2008
    Posts
    935
    Theoretically, you would alter the string in the file /etc/passwd.
    But still there might be some files that can only be accessed by a particular user.

    If several users do use the same home dir, and each of them can access any file from the other users, what would be the point of having different users in the first place?
    Debian GNU/Linux -- You know you want it.

  3. #3
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,970
    Yes, you can do this. However, you need to do a couple of things.

    1. Make sure they are members of the same primary group.
    2. Edit their .bash_profile to set their umask to g=rwx. IE, the command should be umask g=rwx which will make it so that any file and/or directories any of these users create should be fully accessible and modifiable by any of the others. You can also use the command umask 0002 which will accomplish the same thing, just more cryptically.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...