| jan2004.tar |
rpkgadd UsageSynopsis rpkgadd -p <package> -t <target_host> -u <root-user> [ -k rsa|dsa ] [ -mSehDl ] rpkgadd -b <configfile>
rpkgadd supports the following options:
-p Name of the package to install. Packages must be either standard Solaris packages or DaTaStReAm packages. If the package is a DaTaStReAm package, it will be automatically converted using the pkgtrans utility first. -t Target host on which to install package. -u Remote root account. If not specified, the default is "root". If rpkgadd is installed as part of your package infrastructure, the creation of a dedicated package maintenance account is strongly recommended. -k SSH key type to use. If not specified, DSA keys will be used. Valid arguments include "rsa" and "dsa" (optional). -m Maintain packages on remote host. This option will override the default behavior of deleting packages from /var/spool/pkg on the target host once the package is installed (optional). -S Save SSH keys on remote host. This option will override the default behavior of removing the SSH keys from the remote host (optional). -e Expunge local copy of the RSA or DSA keys. (optional) -b Batch processing mode. Required argument is the location of the configuration file, which should contain the following colon-delimited entries:
target_host:root_user:pkgrm:remove_keys:remove_pkg_src: \ keytype:pkg1:pkg2:...:pkg_nExample:
sunspot:pkginstall:no:yes:yes:dsa:SMCwget:SMCtopLines beginning with a # are comments and will be ignored (optional).
-D Removes the package from the specified target host. (Executes a pkgrm.) -h Displays this help message. -l Displays the license agreement. |