Cheatsheet
Cheatsheet
Cheatsheet
Basics
Function SUSE Linux Enterprise Windows
Key combination to execute a Alt–F2 Win–R
single command
Terminal emulator xterm or gnome-terminal cmd
Run a command with an with command-line password runas /user:Administrator
administrator account prompt: sudo COMMAND; COMMAND
with graphical password prompt:
xdg-su -c "COMMAND"
For more information about the desktop, see the GNOME User Guide at
https://www.suse.com/documentation/sles-12/.
Managing Users
▸ To manage users, use YaST: Applications > System Tools > YaST > User and Group Management. (Or
use this command: sudo /sbin/yast2 users)
For more information, see the Deployment Guide, Part Initial System Configuration, Chapter Managing
Users with YaST at https://www.suse.com/documentation/sles-12/.
Administrator Privileges
▸ On Linux, administrator privileges can be assigned by adding a user to the file /etc/sudoers.
▸ To manage this file on SUSE Linux Enterprise, use YaST: Applications > System Tools > YaST > Sudo.
(Or use this command: sudo /sbin/yast2 sudo)
For more information, see the Administration Guide, Part Common Tasks, Chapter sudo at
https://www.suse.com/documentation/sles-12/.
System Services
▸ To manage which services are enabled, which are running and show their status, use YaST:
Applications > System Tools > YaST > Services Manager. (Or use this command: sudo /sbin/yast2
services-manager)
For more information, see the Administration Guide, Part System, Chapter The systemd Daemon at
https://www.suse.com/documentation/sles-12/.
▸ The firewall on SUSE Linux Enterprise allows setting rules for each interface independently. You
can also enable masquerade, port forwarding and broadcasting in the firewall settings.
For more information, see the Security Guide, Part Network Security, Chapter Masquerading and
Firewalls at https://www.suse.com/documentation/sles-12/.
For more information, see the Security Guide, Part Authentication, Chapter Setting Up Authentication
Servers and Clients Using YaST at https://www.suse.com/documentation/sles-12/.
⚠ To avoid data loss, unmount partitions before modifying them! To unmount a partition, open a
terminal, then do:
1. To be able to pick the right device, check which partitions are mounted using the command:
mount
This will return a list that with entries structured like this: DEVICE on MOUNT_POINT type
FILE_SYSTEM_TYPE (FILE_SYSTEM_OPTIONS).
2. Use the mount point information from the previous step to unmount the appropriate file
system: sudo umount MOUNT_POINT
▸ To set up a SMB server, use YaST: Applications > System Tools > YaST > Samba Server.
For more information, see the Administration Guide, Part Services, Chapter Samba at
https://www.suse.com/documentation/sles-12/.