Sponsored Content
Full Discussion: uadmin ? ?
Operating Systems Solaris uadmin ? ? Post 302307217 by cerber0 on Wednesday 15th of April 2009 01:21:05 AM
Old 04-15-2009
This is not extrange, the reboot command have options to avoid the generation of logs of the reboot event. This options are
-n or -d , from the man

------------
The reboot utility normally logs the reboot to the system log daemon, syslogd(1M), and places a shutdown record in the login accounting file /var/adm/wtmpx. These actions are inhibited if the -n or -q options are present.
--------------


One difference between uadmin and reboot is that with the uadmin command you can poweroff the system, for example "uadmin 2 6", with reboot you can't make this.

Additionaly , with reboot you can send options for the boot process, for example "reboot -- -r" to reconfigure, or "reboot -- second_disk" to indicate to the system that second_disk is the boot device, with uadmin I'm not sure that it could be posible.

I hope that it be useful.
 
uadmin(1M)																uadmin(1M)

NAME
uadmin - administrative control SYNOPSIS
/usr/sbin/uadmin cmd fcn [mdep] /sbin/uadmin cmd fcn [mdep] The uadmin command provides control for basic administrative functions. This command is tightly coupled to the system administration proce- dures 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 attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ uadmin(2), attributes(5) On systems, shutting down the system by means of uadmin does not update the boot archive. Avoid using this command after manual editing of files such as /etc/system or driver.conf(4). 11 Apr 2005 uadmin(1M)
All times are GMT -4. The time now is 01:14 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy