Installing Samba Service on Rocky Linux 9.5

Installing Samba Service on Rocky Linux 9.5

To install and configure the Samba server on Rocky Linux 9.5, follow the steps below. Samba is an open-source software that implements the SMB/CIFS protocol, allowing Linux systems to share files with Windows. 1. Install Samba sudo dnf install samba samba-client samba-common -y 2. Create a Shared Directory sudo mkdir -p /srv/samba/share sudo chmod -R … Read more

Configuring and Managing an Admin User with Sudo Privileges on Rocky Linux 9.5

Configuring and Managing an Admin User with Sudo Privileges on Rocky Linux 9.5

In Linux system administration, the Principle of Least Privilege (PoLP) is one of the core principles of secure operations. Directly using the <span>root</span> user for operations carries high risks; it is recommended to create an administrator user with <span>sudo</span> privileges (such as <span>admin</span>) to reduce the impact of accidental operations and security threats. This article … Read more