On Wed, 2003-09-24 at 11:16, Thomas Adam wrote:
--- Chris Puttick <chris@centralmanclc.com> wrote:
Ok, it would be easiest with an NIS server for the Linux clients then that server authenticating to the domain - you could create all the users initially using <newusers> on the NIS server, starting with a CSV dump of
NIS/YP? Heh, no thank you. I'd avoid that almost as much as authenticating over NFS, Chris. There was a discussion on this list about adding new users from an exported NT list at some lenth. I'd suggest you check the archives -- there were some very innovative suggestions put forward <grin>.
I would be interested to find out your objections to NIS (on a firewalled network, of course). We are just about to investigate it as the obvious solution to the problem of maintaining (creating, modifying and deleting from) a user database on multiple systems. It is possible to do the same thing with scripts which duplicate all changes on every system, but a single database has to be more elegant and less error-prone.
the NT user database (using <addusers /d filename> on NT). Failing an available NIS server, running the newusers command on a few workstations should not be too much hassle.
Try <man newusers> and <man 5 passwd> for more guidance on bulk user creation.
I think you'll find it is "man adduser". And as a nitpick, you don't need to specify the section for "man passwd".
Adam, I suggest you try these commands. On my standard woody Debian systems they do not do the same thing. <man passwd> gives you the man page for the <passwd> command while <man 5 passwd> give you the page for the format of the passwd file. Also <newusers> is a completely different command from <adduser>. It may not exist on all distros, but it is a very useful way of taking a file of usernames with plaintext passwords laid out in standard passwd format and adding them to the system, or modifying existing users to suit. It doesn't do everything but is a very useful tool for adding or modifying a large number of users. I wouldn't like to be without it. snip ... -- ---------------------------- Giles Nunn - ISP Officer Carms ICT Development Centre +44 1267 228277 ----------------------------