rpcclient "shutdown" command

Greg Dickie greg at discreet.com
Tue Feb 16 18:47:02 GMT 1999


yes ooo baby, that's what I need!

I'm such a geek!

Greg
On 16-Feb-99 Luke Kenneth Casson Leighton wrote:
> 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

---------------------------------------------------------------------
Greg Dickie
Just A Guy*
*from discreet logic
Montreal 
(514) 954-7171
greg at discreet.com



More information about the samba-ntdom mailing list