【问题标题】:Installing a python service with --username xxx --password xxxx使用 --username xxx --password xxxx 安装 python 服务
【发布时间】:2011-03-04 15:39:00
【问题描述】:

我在本地机器上安装并运行了一个 python 服务,但我正在编写的服务需要访问另一台机器。它需要与用户名和密码相关联。当我尝试myservice.py --username xxx --password yyy --startup auto install 时,我收到一条错误消息

Installing service apdm_upLoader
Error installing service: The account name is invalid or does not exist, or the password is invalid for the account name specified
. (1057)

想法肯定会受到赞赏。 斯科特

【问题讨论】:

  • 请指定您安装了哪个 python 服务。你确定你的用户名和密码是正确的吗? (可能有些错别字...)
  • 您没有告诉我们您正在使用什么、操作系统或任何有关此特定“服务”的信息。然后你发布了你自己的答案。听起来您只是在考虑 SO 的负载。

标签: python service installation


【解决方案1】:

事实证明,如果您没有域,那么您应该使用 .\username。我通过访问我的计算机/管理/服务发现了这一点。首先,我必须对运行良好的过程进行简单的安装。然后在服务窗格中,我双击了我的 python 进程,并且有一个非常好的 gui 来完成我需要做的所有管理。

希望这对某人有所帮助。 斯科特

【讨论】:

  • 这对任何人都没有帮助,因为没有人知道你在使用什么。
猜你喜欢
  • 1970-01-01
  • 2012-11-20
  • 2014-03-01
  • 2020-12-21
  • 2016-12-05
  • 2019-06-23
  • 1970-01-01
  • 2019-03-09
相关资源
最近更新 更多