[Samba] Net rpc shutdown

Anton Hadinger Anton.Hadinger at fh-landshut.de
Wed Aug 11 07:25:39 GMT 2004


Am Di, den 10.08.2004 schrieb Mark Lidstone um 17:52:
> Hi all,
> 
> I'm trying to make a script that will shut down a couple of Windows
> boxes from a Linux machine with Samba.
> 
> If I use "net rpc shutdown -I <windows-ip> -U administrator" it works
> fine, except that I get prompted for the password.  After looking
> through "man net" I can't seem to find a way to include the password (I
> tried "-U administrator%password" but got "[2004/08/10 16:45:58, 0]
I can shutdown my NT machines with -U machine/administrator%password

Anton Hadinger




More information about the samba mailing list