Chapter 2. System Configuration with YaST


2.1. YaST Language
2.2. The YaST Control Center
2.3. Software
2.4. Hardware
2.5. System
2.6. Network Devices
2.7. Network Services
2.8. AppArmor
2.9. Security and Users
2.10. Miscellaneous
2.11. YaST in Text Mode
2.12. Update from the Command Line
2.13. SaX2
2.14. Troubleshooting
2.15. For More Information


YaST, the setup tool used for installation, is also the configuration tool for SUSE Linux. This chapter covers the configuration of your system with YaST. This includes most of the hardware, the graphical user interface, Internet access, security settings, user administration, installation of software, system updates, and system information. Both graphical and text modes of YaST are available and provide the similar functionality.

Configure the system with YaST using various YaST modules. Depending on the hardware platform and the installed software, there are different ways to access YaST in the installed system.

In KDE or GNOME, start the YaST Control Center from the main menu. Before YaST starts, you are prompted to enter the root password, because YaST needs system administrator permissions to change the system files.

To start YaST from the command line, enter the commands su (for changing to the user root) and yast2. To start the text version, enter yast instead of yast2. Also use the command yast to start the program from one of the virtual consoles.

For hardware platforms that do not support a display device of their own and for remote administration on other hosts, run YaST remotely. First, open a console on the host on which to display YaST and enter the command ssh -X root@<system-to-configure> to log in to the system to configure as root and redirect the X server output to your terminal. Following the successful SSH login, enter yast2 to start YaST in graphical mode.

To start YaST in text mode on another system, use ssh root@<system-to-configure> to open the connection. Then start YaST with yast.

To save time, the individual YaST modules can be started directly. To start a module, enter yast2 module_name. View a list of all module names available on your system with yast2 -l or yast2 --list. Start the network module, for example, with yast2 lan.

2.1. YaST Language

To change the language of YaST, select System+Language Selection in the YaST Control Center. Choose a language, exit the YaST Control Center, log out of the system, then log in again. The next time you start YaST, the new language setting is used. This also changes the language for the entire system.

If you need work in a different language but do not want to change the system language setting, you can temporarily change the LANG variable. To do so, export LANG with your preferred language. For example, for English, enter the command:

export LANG="en_US"; yast2

This command changes the LANG setting only in your current session. The language setting of other users and your other sessions, like terminal windows, remains unchanged.

If you run YaST remotely over SSH, YaST uses the language settings of your local system.