Go to main content

man pages section 8: System Administration Commands

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

uadmin(8)

Name

uadmin - administrative control

Synopsis

/usr/sbin/uadmin cmd fcn [mdep]

Description

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”

Attributes

See attributes(7) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Availability
system/core-os

See Also

uadmin(2), attributes(7), privileges(7), halt(8), reboot(8)

Notes

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.