Common system administration tasks for Basalt Linux.
Add, remove, and manage user accounts:
$ sudo adduser <username> # Create a new user sudo passwd <username> # Change user password sudo deluser <username> # Remove a user sudo usermod -aG sudo <user> # Add user to sudo groupGraphical: Open Settings > Users and Groups.
Basalt Linux uses systemd. Common service management commands:
$ systemctl status <service> # Check service status sudo systemctl start <service> # Start a service sudo systemctl stop <service> # Stop a service sudo systemctl enable <service> # Enable at boot sudo systemctl disable <service># Disable at boot sudo systemctl restart <service># Restart a serviceList all services: systemctl list-units --type=service
Check disk usage and manage partitions:
$ df -h # Check disk space usage lsblk # List block devices sudo fdisk -l # View partition table sudo gparted # Graphical partition editorBasalt Linux supports ext4, Btrfs, and XFS file systems.
Monitor system performance and resource usage:
$ htop # Process viewer (install with sudo apt install htop) free -h # Memory usage df -h # Disk usage uptime # System uptime journalctl -xe # System logsBasalt Linux includes iptables/nftables. For a simpler firewall:
$ sudo apt install ufw sudo ufw enable sudo ufw status sudo ufw allow ssh sudo ufw allow 80/tcpSecure Boot is supported via shim-signed. You can keep it enabled during installation. To check Secure Boot status:
$ mokutil --sb-stateIf you need to enroll custom keys, use mokutil --import and reboot.
If the system fails to boot:
Shift during boot to access GRUB menu