xref: /titanic_41/usr/src/man/man1m/uadmin.1m (revision 5e2c3ae0c70f6eb4a42ae670882aabac983cb5f1)
te
Copyright 1989 AT&T Copyright (c) 2009, Sun Microsystems, Inc. All Rights Reserved
The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License. You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.
See the License for the specific language governing permissions and limitations under the License. When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with
the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
UADMIN 1M "Mar 25, 2009"
NAME
uadmin - administrative control
SYNOPSIS

/usr/sbin/uadmin cmd fcn [mdep]

/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 the super-user.

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 ALSO

halt(1M), reboot(1M), uadmin(2), attributes(5)

WARNINGS

Shutting down or halting the system by means of uadmin does not update the boot archive. Avoid using this command after

editing of files such as /etc/system

installing new driver binaries or kernel binaries

updating existing driver binaries or kernel binaries.

Use reboot(1M) or halt(1M) instead.