Re: [newbie] SOHO System Administration

2000-01-06 Thread Christopher Cox

Hi Joe,

Just some ideas..

Set up the boxes as trusted hosts in the hosts.allow

Use a make file that is kicked by cron to rcp /etc/passwd /etc/shadow
/etc/shadow- /etc/group from your central Administration machine to the
remotes.

Setup the central Administration machine to nfs share it's /home and the
remotes to mount it as their home in the fstab. I would auto kick a script
in a cron that would baby-sit this connection (mount) as well for nfs is
not very robust.

That would do it.

Christopher Cox
Cobox 
Marysville Ohio

PS use a safe IP structure like 192.168.1. or 10.1 for the house, you will
probably want to masquerade in the future.




Re: [newbie] SOHO System Administration

2000-01-05 Thread Toyswins

I'm working on something similar for home use.  I've not gotten as far as
you seem to be, but I have a text called "LINUX Network Toolkit".  It's
centered on a LINUX server using SAMBA to connect to Microsoft clients.  It
does have a good section however, on setting up users.  You might check that
text or the IDG site.  http://www.idgbooks.com.  Configuration in LINUX
should be very similar regardless of the client.  Keeping a split system
like you plan will affect your planning/implementation for sure.

I'd love to hear what success you have.  Solutions as well as I might run
into the same problems.  My hardware includes a LINUX box, a dual boot
LINUX/Win box, 2 Win only boxes and an Apple iBook with AirPort hub and so
on.  Mine is definitely going to be fun to figure out.

Stay in touch,

B. B.

"Joseph S. Gardner" wrote:

 Evening All,

 I have a small home office with 5 PC's and several users (read kids
 here).  At present one is Linux-Mandrake 6.1 and the others are Win NT
 4.0 and Win95.  It is my intention to convert all but 1 into Linux
 boxes.  I also intend to allow any user to sit down at any PC and login.

 My question are

  1.  Is there a method to centralize my user administration or
  am I doomed to have to add each potential user to each
  machine?  This leads to question #2 where / how to mount
  /user/home

  2.  I would like to keep all /user/home directories on one
  machine.  Is it possible to setup the login procedure to
  "mount" /user/home across the network or do I need to teach
  every one (including myself) how to use telnet or what?

 I have searched through about a dozen books I have and nothing even
 comes close to hinting at a solution.

 TIA
 --
 Joseph S. Gardner
 Senior Designer / Technical Support
 Kirby Co.,  Cleveland, OH
 [EMAIL PROTECTED]



[newbie] SOHO System Administration

2000-01-05 Thread Mike Fieschko

 "Joseph" == Joseph S Gardner [EMAIL PROTECTED] writes:

[snip]

Joseph  1.  Is there a method to centralize my user
Joseph administration or am I doomed to have to add each
Joseph potential user to each machine?  This leads to question #2
Joseph where / how to mount /user/home

Joseph  2.  I would like to keep all /user/home directories
Joseph on one machine.  Is it possible to setup the login
Joseph procedure to "mount" /user/home across the network or do I
Joseph need to teach every one (including myself) how to use
Joseph telnet or what?

[snip]

Telnet isn't necessary.  Each user doesn't need an account on each
machine.  You need NFS.

You could have all the /home directories on an NFS server, and add 

/home  192.168.0.0/255.255.255.0(rw)

in /etc/exports on the server.  (Let's call the server 'blue'.)

Then enter the information about the /home into /etc/fstab

blue:/home/ben /home/ben nfs rw 0 0

The directory /home/ben on his machine must, of course, be empty.

A problem may arise in this scenario:

User 'ben' on machine 'white' has UID 501 and GID 501 there and
User 'amy' on machine 'green' has UID 501 and GID 501 there.

The map_static option in /etc/exports is used to coordinate UIDs and
GIDs.

/home/ben white(map_static=/etc/nfs/white.map)
/home/amy green(map_static=/etc/nfs/green.map)

so /etc/nfs/white.map would include

uid 5012001  

and /etc/nfs/green.map would include

uid 5013001

-- 
Mike Fieschko, West Orange, NJ, USA
X-Mailer: XEmacs 21.1, VM 6.75 and random-sig.el
Kernel 2.2.14-14mdk