Service manual
Chapter 5: Administration 93
SUDO Configuration Group
SUDO configuration group allows users belonging to the administrator (admin) group, by way of
commands from the shell command line, to configure the console server’s features provided by the
web manager and CLI.
NOTE: As supplied, the console server (version 3.3 and greater) provides a user admin from the admin group
with the password avocent. The username admin cannot be added or deleted from the web manager, or the CLI,
so if a user with the username admin belonging to the admin group is required, a shell script must be executed
by user root from the shell command line.
The sudoers configuration file has already been configured to allow execution and modification of
commands, utilities and configuration files by a user from the admin group.
The sudoers file, /etc/sudoers may be edited by user root either to exclude or to include commands,
utilities and configuration files that are to be used with the sudo command by users from the admin
group.
NOTE: The sudoers file is not saved to Flash automatically. If you make changes to this file and wish to save the
changes, follow the standard procedure to save the config_files file.
For an admin group user to be allowed to execute commands from the shell prompt, the sudo
command must be used. Commands requiring root access privileges are executed by an admin user
with the following command.
$ sudo shell_command_|shell_utility|ACS5000_utility [other required
parameters]
If a user with username admin belonging to the admin group is required, the following shell script
must be executed by user root to configure it.
# addadmin
Saveconf and Restoreconf
The console server has two utilities for saving and restoring the configuration.
Saveconf utility
The saveconf utility automatically creates a file in Flash to save the default and replace flags. The
filename is /mnt/flash/config.tgz.You can also save a configuration file to and restore a
configuration file from a remote ftp, tftp or ssh server.