[Samba] rpc call to power down remote machine?

Andrew Bartlett abartlet at samba.org
Thu Apr 10 08:46:34 GMT 2003


On Thu, 2003-04-10 at 13:35, Hans-Peter Bernhard wrote:
> Hi, I like to kow if there is a rpc call to power down a remote machine like
> 
> rpcclient -c"shutdown -f -t0" remotemachinename

Samba 3.0 has almost exactly this command - also in the form 'net rpc
shutdown'.

Andrew Bartlett

-- 
Andrew Bartlett                                 abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team  abartlet at samba.org
Student Network Administrator, Hawker College   abartlet at hawkerc.net
http://samba.org     http://build.samba.org     http://hawkerc.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba/attachments/20030410/a0ca59be/attachment.bin


More information about the samba mailing list