uxconsole -manage-管理用户和组

在 UNIX 上有效
cminder12901cn
在 UNIX 上有效
使用此命令可以列出本地或企业用户和组的信息。
此命令有以下格式:
uxconsole -manage {-find | -show [-detail]} {-user <filter> | -group <filter>} uxconsole -manage -show -policy
  • -find
    指定显示本地和企业用户或组的列表。
  • -show
    指定该项,可显示特定用户或组的详细信息、用户和组的子集,或显示策略。
  • -detail
    指定显示详细的用户设置。
  • -user
    filter
    定义返回用户子集的通配符。
  • -group
    filter
    定义返回组的子集的通配符。
  • -policy
    指定该项,可显示企业登录策略。
示例:显示用户状态
下面的示例显示了本地 UNIX 用户 (local1) 的输出,该用户映射到具有不同名称 (ent1) 的 Active Directory 用户。 Active Directory 用户已启用 UNIX 属性,因此可以登录到 UNIX 身份验证代理端点:
uxconsole> ./uxconsole -manage -show -detail -user ent1 CA Access Control UNAB uxconsole v12.52.0.160 - console utility Copyright (c) 2009 CA. All rights reserved. USER 'ent1' information ---------------------------------------------------- Type : Local User Login Name : local1 Mapped to : [email protected] Enterprise Account : Enabled Local Account : Enabled Login : Allowed Login Reason : User exists locally Uid : 300 Gid : 101 Shell : /bin/bash Home Directory : /home/local1 Unix Groups : 30017(unabca_gx2), 30016(unabca_gx1)All Groups : [email protected], [email protected], [email protected] Type : Enterprise User Login Name : ent1 Principal Name : [email protected] Enterprise Account : Enabled Login : Allowed Login Reason : According to internal default Uid : 10133 Gid : 13870 Shell : /bin/sh Home Directory : /home/ent1