Home Dir's

Grant orbman at thingysrealm.myftp.org
Fri Jul 23 15:55:17 BST 2004


Jon Schneider wrote:

>On Fri, 2004-07-23 at 15:24, Grant wrote:
>  
>
>>I got a few pc's around the house and i was reading in the handbook that 
>>you can use NFS to share the home dir's over it, so that where ever 
>>people login they can have their home dir... i have read and read the 
>>handbook section about NFS but i still dont really understand how to do it.
>>    
>>
>
>There are several pieces to the puzzle. Firstly you use NIS to make sure
>people can log in anywhere. If you don't use NIS then you have to make
>sure account information (like uids and gids) is consistent throughout.
>If it isn't now you'll be using chown lots after fixing it.
>
>For getting home directories to be there the simplest option is to have
>just one /home on the server then NFS mount that on the client machines.
>That'll give grief if the server is not reliable. A more complicated set
>up might have home directories splattered about the place then
>automounted.
>
>If you get to know the automounter there are example setups in the
>documentation from what I remember.
>
>  
>
>>Oh and the clients are a mixture of freebsd and linux machines, the 
>>server is running 5.2.1
>>    
>>
>
>(No problem)
>
>I've worked at companies with a mixture of sparcs, HP workstations,
>linux, bsd boxen and the most general distributed home, local binaries
>and automounting setup. It does work well. Compared to other companies
>with a set of say linux machines where you spend half your time getting
>all your personal dot files copied around and finding that machines
>don't all have the same tools available.
>
>Jon
>
>
>
>  
>
I dont really want to use NIS as it something extra to add to the server 
and i was trying to keep it simple :), you say about the uids and gids, 
is that just a case of me changing the client uids and gids to the same 
as the server's ones?

eg:

server = orbman:*:1001:1001:User &:/home/orbman:/bin/sh
client = orbman:*:600:600:User &:/home/orbman:/bin/sh

should both read the same ?

(just example i dont know if them id's are right.)

Yea i will just export /home but when i last tried something like that i 
remember one of the clients saying something about it couldnt Lock a 
file, that was right after i logged in on gnome (permissions ?)

Thanks
Grant.





More information about the Ukfreebsd mailing list