rpcclient "shutdown" command

Luke Kenneth Casson Leighton lkcl at switchboard.net
Tue Feb 16 18:14:45 GMT 1999


useful command for unix-admins of nt machines everywhere: remote
"shutdown" command in rpcclient.  i need to work out which flags do what
to get it to reboot rather than sit there.

rpcclient -S nt_srv_name -U user [-l log]
Password: xxxx
smb: /> shutdown [message] [timeout, seconds]
OK
smb: /> quit

i'll do a "shutdown abort" later.

luke



More information about the samba-ntdom mailing list