Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 09-05-2003, 01:41 AM   #1
LQ Newbie
Registered: Aug 2003
Location: marseille
Posts: 10

Rep: Reputation: 0
multi users on the same home directory

I use the redhat7.3 linux OS.
I would like to know if it is possible to have different users with the same home directory?
Old 09-05-2003, 01:45 AM   #2
Registered: Jun 2003
Location: Batam
Distribution: Ubuntu 10 And Linux Mint
Posts: 414

Rep: Reputation: 30
did you mean you have a lot of users in your /home?
if yes the answer is yes too.
you can try this :
adduser xxx
adduser yyy
adduser zzz
and then go to your /home and see its contains.
Old 09-05-2003, 01:56 AM   #3
LQ Newbie
Registered: Aug 2003
Location: marseille
Posts: 10

Original Poster
Rep: Reputation: 0
Thank you for your answer.
I'm sorry but this is not the question. I want multiple users to have the same HOME ($HOME) directory.?
For example, I create 3 users and all log under the same directory.
Is it clear? thanks.
Old 09-05-2003, 04:01 AM   #4
Senior Member
Registered: Apr 2003
Location: Eire
Distribution: Slackware 12.0, OpenSuse 10.3
Posts: 1,120

Rep: Reputation: 45
Yes if the users are in the same group as the owner and the directory has the appropriate permissions for the group eg. to use the directory owned by the user sales whose group is sales


can do

useradd -g sales -s /bin/bash -d /home/sales cheesysalesman

now chessysalesman should log into and have sales as his home dir

and of course set passwords
Old 09-05-2003, 10:22 AM   #5
Senior Member
Registered: Dec 2001
Location: 35.7480 N, 95.3690 W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 46
You have to put the 3 users in the same group. Then on the home directory issue the command

chgrp groupname directory

chmod 770 directory


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Limit Users Home Directory Size KrGAce Linux - Newbie 6 10-24-2005 09:48 AM
Users can only see home directory bluenix Linux - General 20 03-12-2005 08:51 AM
Users home directory. Permissions. jsbush Linux - Newbie 4 10-29-2003 08:13 AM
multi users on the same home directory rpinatel Linux - General 2 09-05-2003 11:55 AM
2 users, 1 mailbox and 1 home directory keevitaja Linux - Newbie 3 08-15-2002 08:20 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:48 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration