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