在运行 Java Enterprise System 安装程序后,amconfig 脚本在 Solaris 系统的 AccessManager-base/SUNWam/bin 目录中或在 Linux 系统的 AccessManager-base/identity/bin 目录中可用。
amconfig 脚本读取无提示配置输入文件,然后根据需要在无提示模式下调用其他脚本,以执行请求的操作。
要运行 amconfig 脚本,请使用以下语法:
amconfig -s input-file |
其中:
-s 在无提示模式下运行 amconfig。
input-file 为包含要执行的操作的配置变量的无提示配置输入文件。有关详细信息,请参阅Access Manager 范例配置脚本输入文件。
运行 amconfig 脚本的几个注意事项:
必须以超级用户 (root) 身份运行。
指定 amsamplesilent 文件(或该文件的副本)的完整路径。例如:
# cd /opt/SUNWam/bin # ./amconfig -s ./amsamplesilent
或
# ./amconfig -s /opt/SUNWam/bin/amsamplesilent
在 Access Manager 7 2005Q4 版本中,不支持以下脚本:
同样,默认情况下 amserver 启动仅启动验证 amsecuridd 和 amunixd 帮助器。amsecuridd 帮助器仅在 Solaris OS SPARC 平台上可用。