Avocent ACS 6000 Appendix C Su and Sudo Commands, Su command, To add a member to the wheel group

Page 67

Appendices 59

Appendix C: Su and Sudo Commands

The su and sudo commands allow a user to execute commands as a different user.

Su command

Using the su (switch user) command, a user can switch to another user account to execute commands not authorized with their normal account. If used without a username, the su command defaults to root. Only users who are members of the wheel group can execute the su command to log in as root.

NOTE: The wheel group is a Linux group and is included in the firmware by default.

You will be prompted for the password of the account you’re trying to switch to with the su command. You will remain logged into that account until you either press Ctrl-Dor type exit.

NOTE: The su command will open a shell session instead of the restricted shell. The user will receive the shell prompt. Improper use of shell commands could lead to data loss. Double-check your syntax when using shell commands.

Syntax:

su [options][-][username[arguments]]

The following table describes options that can be used with the su command.

Table C.1: Su Command Options

OptionDescription

-, -l, --login

Uses an environment similar to that had the user logged in directly.

When - is used, it must be specified as the last su option.

-m, -p, --preserve-

environment

Preserves the current environment.

Optional arguments may be provided after the username, in which case they are supplied to the shell (/bin/sh).

To add a member to the wheel group:

1.Create the user using the web manager or CLI.

2.Open a session in the appliance and log in as root.

3.In the shell prompt, run the usermod command to add the user to the wheel group.

# usermod -G wheel <username>

4.Run the groups command to verify.

Image 67
Contents Cyclades ACS FCC Warning Statement Safety and EMC Approvals and MarkingsCanadian DOC Notice Cyclades ACS Symbols Used TA B LE of C on TE N TS Port Access and Configuration Examples Table of Contents Page Introduction, Navigation Commands CLI utility can be accessed in the following ways Access Options and How to Log Into the CLITo start the CLI Configuration Tasks Performed With the CLICli- cdTabTab CLI NavigationAutocompletion Introduction, Navigation and CommandsPrompt like the following appears at each level Parameters Command Line SyntaxSyntax used Page Help Commands Used for the CLIDelete AddConnect PwdSniff Ftp ShareDisconnect Exit/quitRevert ScpSet CommitShow ListconfigurationCycle, on, off, lock and unlock Go to the access levelTo power control on, off, cycle outlets of one specific PDU Go to the PDU level under accessOpiepasswd PasswdGo to the outlet level for the specific PDU Killsharedsession Special Multi-session CommandsWiz ListsharedsessionShowdatabuf and showappliancedatabuf Cleandbuf and cleanappliancedatabufCLI Equivalent Actions to Web Manager Checkbox Selection Page Port Access and Configuration Tasks Port Access and Configuration ExamplesFor Power Access Parameters Field Description For ApplianceFor Serial Port Field For Outlets Port Access and Configuration ExamplesConnect to a Device Console Connected to a Serial Port Accessing Serial Ports using tsmenuTo connect to a device console connected to a serial port To close the target session Manage Power for a Device Connected to an Outlet on a PDUPort Configuration Examples Tsmenu optionsTo enable a power management port To set up a console access service CAS portLog onto the CLI as an administrator Enter show to view the status of portPage Type ls to see available sub-nodes Enter cd system to navigate to the System level SystemEnter ls to view the available options Enter cd security to navigate to the security level System/SecuritySystem/Security Options System Navigation Tree System/Date and Time CLI Overview for AdministratorsDate and Time Options Date and Time Navigation Tree To set the online help URL To set the login bannerSystem/Help and Language System/GeneralSystem/Usage System/Boot ConfigurationEnter show to view the system information System/InformationEnter cd network to navigate to the Network level Network/SettingsEnter show to view the list of available options NetworkNetwork/IPv4 and IPv6 Options IPv4 and IPv6 Navigation Tree To configure a IPv4 or IPv6 static IP addressNetwork/IPv4 and IPv6 Network/DevicesNetwork/Devices Options Devices Navigation Tree Enter show to view the changesNetwork/Hosts To add a host to the host tableType add then press Return Hosts cli-cd 172.26.31.164/settingsEnter cd network/ipsecvpn to navigate to the ipsecvpn level Network/FirewallNetwork/IPSecVPN Enter cd network/firewall to navigate to the firewall level11 Network/IPSecVPN Options IPSecVPN Navigation Tree Wiz commandNetwork/SNMP Enter cd network/snmp to navigate to the snmp levelEnter cd ports to navigate to the Ports level Ports13 Ports Options Ports Navigation Tree CLI Overview for Administrators 14 Serial Port Commands CommandSummary Auxiliary ports To copy the configuration from serial port 5 to ports 10Appliance with an internal modem Appliance without an internal modem Pluggable DevicesEnter cd users to navigate to the users level Authentication16 Authentication Options Authentication Navigation Tree UsersEnter save To add a user and passwordEnter show to verify that the new user has been added Syslog18 Syslog Options Syslog Navigation Tree EventsandLogs19 EventsandLogs Options EventsandLogs Navigation Tree To rename a PDU Power ManagementPower Management Options are described in the table below 20 Power Management Options Descriptions Option DescriptionTo view and kill ActiveSessions CLI Overview for Administrators Enter set newpduid=newPDUIDTo manage power for a selected outlet Active Sessions InformationPage Enter shell. a warning appears followed by the root prompt Connect to the console of the console server as rootPage Appendices Access rightsTable B.1 Access Rights Groups Members Permissions Appendix B Migration CLIConfig administration notifications Table B.2 Commands Not Supported by the Migration CLIAdministration Config administration bootconfConfig physicalports databuffering Command Value or DescriptionsConfig network hostSettings Config physicalports accessConfig security profile custom Config physicalports power managementConfig security loadkey Url Username Page Table C.1 Su Command Options OptionDescription Appendix C Su and Sudo CommandsSu command Run the groups command to verifySudo command Configuring sudoTo delete a member from the wheel group Page Page Appendix D Technical Support To resolve an issuePage For Technical Support
Related manuals
Manual 70 pages 12.94 Kb

ACS 6000 specifications

The Avocent ACS 6000 is a leading edge solution designed for remote access and management of critical IT infrastructure. This compact and robust device serves as a key tool for IT administrators, allowing them to manage serial console access for servers, networking equipment, and other serially controlled devices. Ideal for both enterprise environments and smaller settings, the ACS 6000 enhances operational efficiency and reliability.

One of the standout features of the Avocent ACS 6000 is its ability to provide secure remote access. The device supports various security protocols, including SSH, SSL, and IP filtering, ensuring that access to the managed devices is protected against unauthorized entry. With strong encryption standards, it provides peace of mind for organizations handling sensitive data.

The ACS 6000 is equipped with advanced management capabilities, enabling administrators to monitor and control serial communications across multiple devices from a single interface. This centralized management not only reduces the complexity associated with handling numerous individual devices, but it also streamlines troubleshooting and system diagnostics, resulting in quicker response times and less downtime.

Another notable characteristic of the ACS 6000 is its scalability. The modular design allows for easy expansion as organizational needs evolve. IT managers can begin with a basic configuration and upgrade seamlessly by adding more ports or features as necessary. This flexibility makes the ACS 6000 an ideal solution for growing organizations.

User-friendly features such as an intuitive web interface simplify the setup and configuration process. Through this interface, users can easily navigate and utilize various functions, including alert settings, logging, and reporting features that provide valuable insights into device performance and usage patterns.

In addition to its robust functionality, the ACS 6000 is designed with reliability in mind. Built to endure varied environmental conditions, it operates reliably in data centers and remote locations alike. The device can also handle high-voltage operations, making it versatile for various industrial applications.

In summary, the Avocent ACS 6000 stands out as an essential tool for modern IT management, delivering secure, scalable, and user-friendly solutions for remote access to serial controlled devices. With its advanced features and robust design, it effectively meets the challenges of IT infrastructure management in today's fast-paced digital landscape.