Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Permission to start and stop services

7 views
Skip to first unread message

CG

unread,
Nov 6, 2002, 8:55:15 AM11/6/02
to
How can I allow a regular user to start and stop a single
service?

I've tried giving the user id full control to the reg keys
for the service, services.exe and the .sys for the service
itself.
The service is set to manual, using localsystem. I get a
security failure audit, event id 560. I can do it as an
administrator.

Thanks in advance.

Ritchie

unread,
Nov 6, 2002, 9:27:19 AM11/6/02
to
"CG" <nospam...@epsilonospam.com> wrote in message news:7dae01c2859c$22431810$36ef2ecf@tkmsftngxa12...

> How can I allow a regular user to start and stop a single
> service?

In the absence of a better suggestion, you could try this:-

Setup a batch file for the user to execute when they want to
stop/start the service. Have this batch file drop a text message
(for instance, the mesage is either STOP or START) into a network
share to which only they have write access.

Have another batch file monitor the share (running in the context
of a user with sufficient rights) that act upon then deletes the
message.

--
Ritchie
Undo address for mail


CG

unread,
Nov 6, 2002, 12:37:21 PM11/6/02
to
Simple and clever, thanks. That would do it but I need
something more "self contained". This has to be a rights
issue. I am auditing all failures of the entire
filesystem and registry yet the culprit is not being
exposed. Adding and removing the user id from the local
administrators group enables and disables the ability to
control the service. It seems to be something in the
registry. I just reset all of HKLM to Authenticated
Users, Administrators and System to full control and it
works. I guess I will be may hours of playing "process of
elimination", unless someone already knows where I should
go. ;)
>.
>

Ritchie

unread,
Nov 6, 2002, 1:25:12 PM11/6/02
to
"CG" <nospam...@epsilonospam.com> wrote in message news:534101c285bb$28fb94b0$39ef2ecf@TKMSFTNGXA08...

> Simple and clever, thanks. That would do it but I need
> something more "self contained". This has to be a rights

Ok, you need the awesome and free SETACL util from:-

http://www.helge.mynetcologne.de/setacl

I can confirm it does exactly what you want (at least on an NT4.sp6a
workstation)

Ricardo M. Urbano - W2K/NT4 MVP

unread,
Nov 6, 2002, 3:31:27 PM11/6/02
to
CG, users need local Power User rights to stop and start services.

hth

--
Ricardo M. Urbano
Microsoft Windows 2000/NT MVP

CG

unread,
Nov 7, 2002, 7:12:19 PM11/7/02
to
Thanks. I have customized all rights and have removed the
built-in groups from advanced user rights in user
manager. This system requires the greatest possible
restrictions, even to the operators that are resposible
for it's care and feeding. I want to, if possible, allow
an operator the ability to control only 1 service. 'Trust
no one' is my charter for this. If this is one of those
Magic-Hidden rights that I cannot manipulate then I will
have to accept Power User. I am still playing "process of
elimination" in HKLM. Somewhere within there are keys
that are being accessed, fail and yet do not show audit
failures in the event log. If I give them full control to
the entire branch they can do it, give them only 'read'
and they cannot. (Yes they need more then just read to a
lot of keys in HKLM just function, but resetting all to
full give the permission) This is in addition to all the
FS and reg rights that have been granted to eliminate
audit failures.

>.
>

Ritchie

unread,
Nov 8, 2002, 2:24:12 AM11/8/02
to
"CG" <nospam...@epsilonospam.com> wrote in message news:58d001c286bb$80bcd320$39ef2ecf@TKMSFTNGXA08...

> Thanks. I have customized all rights and have removed the
> built-in groups from advanced user rights in user
> manager. This system requires the greatest possible
> restrictions, even to the operators that are resposible
> for it's care and feeding. I want to, if possible, allow
> an operator the ability to control only 1 service. 'Trust

Just curious, why don't you use SETACL, it allows you to explicitly
specify which user/group can stop/start an individual service? Is it
because its a third party util or something else?

ch...@nospam.com

unread,
Nov 8, 2002, 10:29:29 PM11/8/02
to

Or use regmon to see what keys SETACL is altering.

0 new messages