# groups <username>
To deletea member from the wheel group:
1. Edit the file /etc/group .
2. Remove the username from the line with wheel::XX:<user1 >,<user2>,<user3>.
Sudo command
Using the sudo (superuser do) command, a user can execut e a command using the privileges of
another user (often root), as speci fied in the /e tc/sudoers file. The user is au thenticated u sing his
own password, not t he root password. The /et c/sudoers file logs all commands and arguments.
Syntax:
sudo <command>
Configuring sudo
A system administrator configures the /etc/sudoers file to giv eg roups oru sersaccess to some or
all commands not a uthorized with their normal account . An administrator shoul d log into the
console server as a root user and edit the /et c/sudoers file by using the /usr/sbin/visudo
command to configure sudo.
The sudoers file is composed of ali ases and user specifications. When multiple entries match for
a user, they are applied in order. Where there are conflict ing values, the last match is used.
Since the sudoers file is parsed i n a single pass, order is important .Y ou should structure sud oers
so that the Ho st_Alias, User_Alias, and Cmnd_Alias specificatio ns come first, followed by a ny
Default_Entry lines, and finally th e Runas_Alias and user specifications.
An example of an /etc/sudoers file:
#User alias specification
User_Alias FULLTIMERS = millert, mikef, dowdy
User_Alias PARTTIMERS = bostley, jwfox, crawl
#Cmnd alias specification
Cmnd_Alias KILL = /bin/kill
Cmnd_Alias SHUTDOWN = /sbin/shutdown
Cmnd_Alias REBOOT = /sbin/reboot
Cmnd_Alias SU = /bin su
FULLTIMERS ALL = KILL, SHUTDOWN, REBOOT, SU
PARTTIMERS ALL = SHUTDOWN, REBOOT
60 Cyclades™ ACS6000 Advan ced Console Server Command Reference Guide