uadmin - administrative control
/usr/sbin/uadmin cmd fcn [mdep]
The uadmin command provides control for basic administrative functions. This command is tightly coupled to the system administration procedures and is not intended for general use. It may be invoked only by a user with the {PRIV_SYS_CONFIG} privilege.
Both the cmd (command) and fcn (function) arguments are converted to integers and passed to the uadmin system call. The optional mdep (machine dependent) argument is only available for the cmd values of 1 (A_REBOOT), 2 (A_SHUTDOWN), or 5 (A_DUMP). For any other cmd value, no mdep command-line argument is allowed.
When passing an mdep value that contains whitespaces, the string must be grouped together as a single argument enclosed within quotes, for example:
uadmin 1 1 “–s kernel/unix”
See attributes(7) for descriptions of the following attributes:
|
uadmin(2), attributes(7), privileges(7), halt(8), reboot(8)
If the SMF property config/uadmin_boot_archive_sync on the service svc:/system/boot-config:default is set to TRUE, then uadmin will update the boot archive when necessary.