This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Undo taking of ownership of LocalService & NetworkService file trees


Andrew Hancock <andymhancock <at> gmail.com> writes:

... something deleted
> 
> Would it suffice to use chown to force ownership back to the strings
> "LOCAL SERVICE" and "NETWORK SERVICE"?  Or is something deeper
> required to ensure complete and proper ownership transferral?
> 
Andrew

just add the following entries to your /etc/passwd file:

LocalService:*:19:544:U-NT AUTHORITY\LocalService,S-1-5-19::
NetworkService:*:20:544:U-NT AUTHORITY\NetworkService,S-1-5-20::

this will allow you
chown LocalService ...
or the same with NetworkService

kf



--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]