How to set Named Pipe permssions for non-admin access?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Mark McWiggins (mark_at_printcop.com)
Date: 03/17/04


Date: 17 Mar 2004 15:45:15 -0800

I'm revising a chat application to use named pipes.

I have it working fine from two command lines running as administrator
on both machines. But in production it will be launched from a service
running as "Local System account" (under 'Log On' in the 'properties'
page
of its service). It also have "Allow service to interact with desktop"
checked.

When I invoke the chat program from this service (via 'spawn') I get
ERROR_ACCESS_DENIED (code 5). For completeness I tried command line
invocation from a limited user account and got error 1326 (logon
error).

How do I set the permissions of the named pipe to allow the service to
connect?
I've seen various descriptions of security tokens and ACLs, but
haven't seen a good description of doing this sort of thing.

Thanks much for any guidance whatsoever.

Mark McWiggins
425-369-8286



Relevant Pages

  • Re: Gifts of the Spirit ceased at end of 1st century?
    ... Men will often chat together in Jewish Orthodox services and will even think nothing of going out for a more private chat and return later. ... For as Paul rightly points out is a "disgraceful" for women even to speak, let alone conduct the services in the assemblies, overruling man's God ordained authority over the woman. ... But heretics will be heretics all they care about is getting their own way, whether they despise God's command or trample underfoot Inspired Apostolic teaching means absolutely nothing to such degraded unspiritual people. ... So when are you going to "recognize and acknowledge" the Lord has forbidden EVERY women to speak in the churches? ...
    (uk.religion.christian)
  • Re: Phone dialer for Linux
    ... chat program, which I have already looked at half a dozen times. ... to specify a device on the command line, which would seem to me to be ... telephone itself since the number can't be passed from kaddressbook as ...
    (Debian-User)
  • Re: parenthetical grouping
    ... it takes two named pipes as ... > the program just copies from src to dst, except upon opening dst (and before ... or only from the file named on the command line? ...
    (comp.unix.shell)
  • Re: controlling cmd.exe via named pipes
    ... I use them to avoid handling named pipes directly by Windows ... 1-I create two different named pipes, say 'cmdIN' and 'cmdOUT'; ... That's the command switch that tells Cmd to run the command on the command line, and then wait for more commands. ... You can duplicate them into Cmd's process because that process doesn't exist yet. ...
    (comp.lang.pascal.delphi.misc)
  • Re: [PHP] Cannot connect to an MySQL database using Named Pipes (resolved)
    ... I have a database running on Window XP, that I want to disable network connections to and enable 'named pipes'. ... I have tried several variants of the connect command and I get various errors but all are along the lines of: ... Can't connect to MySQL server on 'localhost' ... $mysqli = new mysqli("localhost", $username,$password, ...
    (php.general)