D Cheat sheet for Windows administrators #
D.1 Managing users #
To manage users, launch YaST and switch to sudo /sbin/yast2 users
command. For more information, refer to https://documentation.suse.com/sles/html/SLES-all/cha-yast-userman.html/.
D.2 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/.
D.3 Managing system services #
Use the sudo /sbin/yast2 services-manager
command. For more information,
see https://documentation.suse.com/sles/single-html/SLES-administration/#cha-systemd/.
D.4 Managing firewall settings #
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/.
D.5 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/.
D.6 Managing partitions and storage devices #
Use 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/.