LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices


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

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


Hi,
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
joseph
Member
 
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
rpinatel
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
Looking_Lost
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

/home/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
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480° N, 95.3690° W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 47
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
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:31 PM.

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