From: brabuhr@... Date: 2010-03-27T06:21:33+09:00 Subject: Re: LAN inventory On Wed, Mar 24, 2010 at 11:35 AM, bigthepaco wrote: > Ok, thank you. I try to simplify. Initially I'd like develop a script > to change periodically all local administrator passwords of about 1000 > clients of my LAN (NT domain). I'd like to develop with a Linux box, > but if it's not possible ok, I can do it on Windows. Can I do it on > Linux box? Is this a problem? Have you some script (examples) similar > to this? Is a problem if I don't know old passwords? Of course I'm LAN > administrator and then I know domain password admin. I must decide > about using Perl or Ruby. Perl has many modules for win32, Ruby I > don't know. I don't know if it works or not: rpcclient -S nt_server -W domain_name -U username Password: smb> ntpass New Password (only once - get it right! :-): smb> quit If the basic command works, it should be wrappable (with Ruby) to loop through a bunch of machines.