大网数据广告活动
服务器运维问答

How to give “Network Service” permissions on another non-domain computer?

· 52CE 我爱测

I have PostgreSQL running on a Win10 Pro box (called DBServer) on my local network. I need to allow it to read files on my Dev computer (also Win10 Pro) on the same network so it can import files. PostgreSQL runs as Network Servi…

问题原文

原帖链接 · Brad Mathews · CC BY-SA 3.0

I have PostgreSQL running on a Win10 Pro box (called DBServer) on my local network. I need to allow it to read files on my Dev computer (also Win10 Pro) on the same network so it can import files.

PostgreSQL runs as Network Service so I need to somehow allow Dev access to DBServer's Network Service. My research indicates that you can do this by adding permissions to Domain/DbServer$. Fine, but I am not on a domain.

I tried adding a domain to Dev's hosts file (10.0.0.188 newdbserver.com) and adding permissions for newdbserver.com/DbServer$ but that name is not found.

Seems like I am so close, yet so far away.

已采纳解答

原帖链接 · mfinni · CC BY-SA 3.0

I don't believe that this can be done for non-domain machines. You can have PostgreSQL run as a named account on DBSERVER, and create an account with the same name and password on DEV.

HOSTS files are for DNS resolution; a DNS domain is (in this context) not the same thing as an AD domain, so that is barking up the wrong tree unfortunately.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2017-07-14)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。