编辑应用服务器密码缓存中的条目。
tarantella passcache edit { { --personpobj
| --anon | --ldap } --resourceresource
--resuserresuser
[ --respassrespass
] } | --filefile
下表显示了此命令的可用选项。
选项 | 描述 |
---|---|
| 指定要为其编辑密码缓存条目的用户配置文件对象的名称。 |
| 为匿名用户编辑密码缓存条目。 |
| 为某个服务对象编辑密码缓存条目。 |
| 指定密码缓存条目应用到的应用服务器、Microsoft Windows 域或服务对象的名称。 名称可以是下列项之一:
|
| 标识资源的用户名。 |
|
指定与 如果省略了此选项,则会提示您输入密码。 |
| 指定包含要编辑的密码缓存条目的一个文件。 |
请务必将包含空格的任何对象名称用引号引起来,例如 "o=示例"
。
以下示例在由应用服务器对象 prague 代表的应用服务器上为 SGD 用户 Indigo Jones 编辑密码缓存条目。
$ tarantella passcache edit \ --person "o=示例/cn=Indigo Jones" \ --resource "o=appservers/cn=prague" \ --resuser indigo --respass rainbow
以下示例为应用服务器 paris.example.com 上的匿名用户编辑密码缓存条目。
$ tarantella passcache edit \ --anon --resource .../_dns/paris.example.com
以下示例为 mainldap
服务对象(这是一个 LDAP 服务对象)创建密码缓存条目。
$ tarantella passcache edit \ --ldap --resource mainldap \ --resuser cn=sgd-user,cn=Users,dc=example,dc=com \ --respass rainbow
以下示例为 east
服务对象(这是一个 Active Directory 服务对象)编辑密码缓存条目。
$ tarantella passcache edit \ --ldap --resource east \ --resuser admin@east.example.com --respass rainbow