Skip to contentSkip to conversation

Sharing the home directory...

DISCUSSION Ibrahim El-Shafei 3 participants 3 messages Oct 26, 2002 – Oct 28, 2002

lore
Share & tools
lore
#0 lore raw

Dear Sir,
I have about 5 linux boxes on my site. I want to make all of them share the same home directory and users, so I exported the home directory of one of them and then pointed to this home directory as /home for the other boxes. It didn't work, why?

Thank you for your help.

Yours,
Ibrahim El-Shafei
"HimaTech"

Ibrahim El-Shafei
"HimaTech"

#1 lore raw

How didn't it work? Any error messages? Please give us more information.

assim falou Ibrahim El-Shafei (em 26/10/2002):

Quoted 18 lines

Dear Sir,
I have about 5 linux boxes on my site. I want to make all of them share the same home directory and users, so I exported the home directory of one of them and then pointed to this home directory as /home for the other boxes. It didn't work, why?

Thank you for your help.

Yours,
Ibrahim El-Shafei
"HimaTech"

Ibrahim El-Shafei
"HimaTech"
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 19 lines
Jorge R. Csapo

--------------------------------------------------
    /"\
    \ /ÿ CAMPANHA DA FITA ASCII - CONTRA MAIL HTML
     Xÿÿ ASCII RIBBON CAMPAIGN - AGAINST HTML MAIL
    / \
--------------------------------------------------
Jorge R. Csapo
http://www.completo.com.br/~jorge
===========================================
With a PC, I always felt limited
by the software available.
On Unix, I am limited only by my knowledge. 
--Peter J. Schoenster
-
To unsubscribe from this list: send the line "unsubscribe linux-config" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#2 lore raw
In reply to Ibrahim El-Shafei

Hello,

A few considerations... You haven't supplied much information about the problems you are having. Make sure that your passwd and group file are the same. This way the users will have the same UID/GID on the different boxes. If they don't it won't work. Having the same name does not work. To this end you may want to consider using NIS. It is fairly simple to set up, and you will have a single point for users and passwords.

The next thing that you want to check out is if you have exported the home directory to all the machines that you want. There is a file /etc/exports which should look something like:

/home 192.168.1.0/24(rw,no_root_squash)

This would allow any machine on that subnet to access the /home directory. Check out man 5 export and exportfs(8)

You also need to be running NFS client and servers.

Otherwise, please be more specific with what you are experienceing as there may be a number of different problems that it could be.

Cheers,
Richard Nairn
Nairn Consulting

Quoted 12 lines · Ibrahim El-Shafei

Dear Sir,
I have about 5 linux boxes on my site. I want to make all of them share the same home directory and users, so I exported the home directory of one of them and then pointed to this home directory as /home for the other boxes. It didn't work, why?

Thank you for your help.

Yours,
Ibrahim El-Shafei
"HimaTech"

Quoted 6 lines

Ibrahim El-Shafei
"HimaTech"
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

---end quoted text---

Signature · 4 lines
|       Richard Nairn          Specializing in Linux
|     Nairn Consulting         Web / Database Solutions
|        Calgary, AB           
| [email protected]