Adding many machine accounts ?

Richard Kail e8903122 at
Sat May 1 12:46:00 GMT 1999

Hallo !

On Sat, 1 May 1999, Michael Glauche wrote:

>    is there some easy way to add quite a lot of machine accounts ?

for i in `seq 0 1000`
	useradd -d /tmp "M$i\$"
	smbpasswd -m -a "M$i"

creates 1001 machine accounts. (not tested)

Kind regards,


More information about the samba-ntdom mailing list