Re: Sharing the home directory...

Richard Nairn <[email protected]> Sun, 27 Oct 2002 23:27:58 -0700
Newsgroups org.kernel.vger.linux-config,org.kernel.vger.linux-admin
Message-ID <[email protected]>
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


On Sat, Oct 26, 2002 at 04:01:36PM +0200, Ibrahim El-Shafei wrote:
> 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
---end quoted text---

-- 
|       Richard Nairn          Specializing in Linux
|     Nairn Consulting         Web / Database Solutions
|        Calgary, AB           
| [email protected]