Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've got three identical machines for my 3 kids, running Narwhal, but I'd like to replicate the user accounts across all 3 so anyone can login on any machine without me having to create all accounts on all 3 machines.

Ideally, this would include storing their home directory stuff on a windows server (or one of the 3 machines), and replicating their desktop settings, etc. The windows server is all set up, samba's running, I can map it, etc. I just haven't bothered yet because I didn't want to replicate the same work 9 times. (15 if you include the guest account and my account.)

share|improve this question
It will be more work than maintaining 14 users (I am exluding your sudo account ;) ). – Rinzwind Sep 14 '11 at 16:59
You could sync files using, e.g., Ubuntu One, and sync login credentials with rsync (or even manually). This doesn't include a Windows component -- I wasn't sure if that was a desire or a perceived necessity. – belacqua Sep 14 '11 at 17:47
up vote 2 down vote accepted

If your Windows server is a Domain Controller, you can use Likewise-open to join to the Windows domain. See e.g. this:

share|improve this answer

You might want to look at setting up an OpenLDAP server if your windows server isn't already doing authentication for you. There is a nice guide here:

It is far from simple though, so you might have better luck just centrally mounting the user home directories, or using rsync to keep them in sync.

There are also a number of terminal tools out there which will let you simultaneously execute commands on multiple ssh sessions, which might shave some time off for you. My favorite is Terminator, but I haven't used many of them.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.