AFP548 Changing the world one server at a time.

biozal

Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: how to setup a clone netinfo domain #355207
    biozal
    Participant

    Joel,

    Here is what I’ve done so far:

    1. Read pdf on Understanding and Using NetInfo
    2. Read Administration Manual (Chapter 2 on domains)

    Ok my main server is a XServe named bigmac. My backup server is called backup. I tried first to make a new domain called btc. Here is what I’ve done on the XServe:

    nidomain -m btc

    niutil -createprop -t bigmac/btc /machines/bigmac serves ./btc

    niutil -createprop -t bigmac/network machines/bigmac serves bigmac/local ./network ../btc

    Now the domain is setup. I can use nidomain -l and I see my newly created domain. 😀

    Next I create objects for basic stuff:

    niutil -create -t bigmac/btc /users

    niutil -create -t bigmac/btc /groups

    niutil -create -t bigmac/btc /aliases

    niutil -create -t bigmac/btc /mounts

    niutil -create -t bigmac/btc /printers

    niutil -create -t bigmac/btc /contacts

    Next I create a user called root into the btc domain using niutil and setup a propery for password. I leave this blank. I copied all the properies from the root domain user root to my new user root on my btc domain. Next I reboot the box and that’s when I get hte login screen but can’t log in. If I attempt to login using ssh it just hangs after I put my password in.

    I was thinking about nuking the box and using the root domain to attempt to clone on my backup server, but was looking for some advice before nuking the server.

    Thanks,

Viewing 1 post (of 1 total)