[Samba] Control NT Services
Voetelink D.
voetelink at ecn.nl
Mon Mar 3 17:23:04 GMT 2003
Josh,
> Thanks for the response !! I tried rpcclient but I don't see anywhere where
> it will let me control services.
I double-checked, and found out that it's the rpcclient supplied with
samba-tng which has service-control.
from 'man rpcclient' from a samba-tng system:
-----
Service Control
These commands provide functionality similar to the
Windows NT Service Control Manager.
It is possible to use command-line completion (if
you have the GNU readline library) for Service
names, by pressing the tab key.
svcenum
[-i] Lists Services.
svcinfo
<service> Service Information
svcstart
<service> [arg 0] [arg 1] ... Start Service
svcstop
<service> Stop Service
-----
I'm not sure this is what you want. Perhaps somebody has a
different solution...
greetings,
Dennis
> -----Original Message-----
> From: Voetelink D. [mailto:voetelink at ecn.nl]
> Sent: Monday, March 03, 2003 6:37 AM
> To: Josh Konkol
> Subject: Re: [Samba] Control NT Services
>
>
> Josh,
>
>
>>Is there a Samba utility to control NT Services or does anyone know of a
>>way to remotely restart NT services from a linux box ?
>
>
> IIRC you can use rpcclient for that. Not sure tho.
>
>
> Dennis
>
--
*******************************************************************
D. Voetelink
UNIX Systems Administrator
Netherlands Energy Research Foundation,
Facilities Department
Petten, Netherlands
email : voetelink at ecn.nl
phone : (+31) 224 564738
*******************************************************************
More information about the samba
mailing list