Dell Unity:设置包含svc_banner的自定义横幅失败,并出现权限错误

Summary: 按照 Dell Unity 系列服务命令技术说明中所述的使用 svc_banner 命令设置自定义横幅的过程的用户遇到权限错误。

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

用户按照以下步骤使用 设置自定义横幅 svc_banner Dell Unity 系列服务命令技术说明(第 6 页和第 7 页)中所述的命令遇到权限错误。

根据文档,建议用户将自定义模板文本文件放在 /home/service directory 尝试这样做时,他们会收到权限被拒绝错误。 

权限被拒绝消息的屏幕截图

Cause

这是设计使然。
/home/service 目录只能由注入 root 的用户访问。

Resolution

用户应改用 /home/service/user 服务用户可以访问且不需要 root 的目录。
  1. 在以下位置创建文本文件 /home/service/user 具有本地化内容名称的目录:
    • 对于英语:en_US.txt
    • 白俄罗斯语: be_BY.txt
    • 中文:zh_CN.txt
  2. 要应用这些文件,请以服务用户身份运行以下命令:
svc_banner --put en_US.txt be_BY.txt zh_CN.txt
如果登录到 Unisphere,则注销,然后重新登录。应显示新横幅。 

示例: 

命令输出的屏幕截图
测试横幅的屏幕截图
 
 

Affected Products

Dell EMC Unity
Article Properties
Article Number: 000219224
Article Type: Solution
Last Modified: 16 Sept 2025
Version:  3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.