AppSync:在 SUDO 用户前面添加不适当的域名时,推送 Linux 插件可能会生成无效错误消息

Summary: 错误消息:当 SUDO 用户以不适当的域名开头时,“缺少 NOPASSWD 或安全路径”可能会产生误导。

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

在尝试推送 Linux 插件时,GUI 中收到以下误导性错误:
NOPASSWD or Secure path is MISSING
如下所示:

NOPASSWD 或安全路径缺失错误
AppSync 服务器日志“Updating Host”消息将显示已在 GUI 中输入的内容:
02-28-2024 09:20:02.410 INFO [default task-45] [com.emc.archway.restapi.restresources.host.HostInstanceResource] [AppSyncServer] [] ca4873fb-ca3b-4529-95be-783eb1eaf5d6->>> Updating host:
{
  "lastModified" : 0,
  "guiProperties" : { },
  "name" : "LINUXhost",
  "credentials" : {
    "guiProperties" : { },
    "username" : "WinDomain\\SUDOuser",
    "password" : "*****",
但不久之后,会看到以下内容,缺少用户名,然后是误导性消息:
02-28-2024 09:20:03.207 INFO [Thread-99 (ActiveMQ-client-global-threads)] [com.emc.archway.service.sshservice.SecureShellSessionManager] [] [] ca4873fb-ca3b-4529-95be-783eb1eaf5d6->>> Getting(using password) SecureShellSession object 1309332194 for host LINUXhost 
02-28-2024 09:20:03.645 INFO [Thread-99 (ActiveMQ-client-global-threads)] [com.emc.archway.commands.host.DeployHostCommandBean] [] [] ca4873fb-ca3b-4529-95be-783eb1eaf5d6->>> output is :User name : SUDOuser
User name ID (UID) : 11111111
sudo user : 

NOPASSWD or secure path is MISSING. See Installation and Configuration guide for details on host registration using SUDO user, and Security Configuration guide for details on ciphers.

Cause

“用户名”字段在本地 SUDO 用户前面包含不适当的域名\。

Resolution

使用本地 SUDO 用户推送 Linux 插件时,在用户名字段中仅输入 SUDO 用户名。

Products

AppSync
Article Properties
Article Number: 000222762
Article Type: Solution
Last Modified: 18 Sep 2025
Version:  2
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.