D Cheat sheet for Windows administrators #
D1 Managing users #
To manage users, launch YaST and switch to . To use the ncurses version of YaST, run the sudo /sbin/yast2 users command. For more information, refer to https://documentation.suse.com/sles/15-SP5/html/SLES-all/cha-yast-text.html.
D2 Assigning administrator privileges #
On Linux, administrator privileges are defined in the
/etc/sudoers file. You can use YaST to manage
administrator privileges. Install the required YaST module using the
sudo zypper in yast2-sudo command. Launch YaST and
switch to the section.
To use the ncurses version of YaST, run the sudo /sbin/yast2
sudo command. For more information, see
https://documentation.suse.com/sles/single-html/SLES-administration/#cha-adm-sudo/.
D3 Managing system services #
Use the module in YaST to view and manage enabled services. To use
the ncurses version of YaST, run the sudo /sbin/yast2 services-manager command. For more information,
see https://documentation.suse.com/sles/single-html/SLES-administration/#cha-systemd/.
D4 Managing firewall settings #
The module in YaST allows you to manage the firewall settings. To use
the ncurses version of YaST, run the sudo /sbin/yast2 firewall command.
The firewall on SUSE Linux Enterprise allows setting rules for each interface independently. You can also enable masquerading, port forwarding and broadcasting in the firewall settings. For more information, see https://documentation.suse.com/sles/html/SLES-all/cha-security-firewall.html.
D5 Joining a Windows domain (Active Directory/SMB file sharing) #
Install the yast2-auth-client package first. Then use the
module to join a
Windows domain. To use the ncurses version of YaST, run the sudo
/sbin/yast2 auth-client command. For more information, see
https://documentation.suse.com/sles/html/SLES-all/cha-security-auth.html.
D6 Managing partitions and storage devices #
Use the module in
YaST to view or change the partition layout. To use the ncurses version
of YaST, run the sudo /sbin/yast2 disk command.
To avoid data loss, unmount partitions before modifying them! To unmount a
partition, open a terminal and run the mount command.
This returns a list of entries structured like
this: DEVICE on MOUNT_POINT type FILE_SYSTEM_TYPE
(FILE_SYSTEM_OPTIONS). To unmount the desired partition, use the
sudo umount MOUNT_POINT
command with the appropriate mount point. For more information, see https://documentation.suse.com/sles/html/SLES-all/book-storage.html/.