For systems which should never attempt any type of suspension, these targets can be disabled at the systemd level with the following: sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target To re-enable hibernate and suspend use the following command: sudo systemctl […]
December 16, 2021
Resetting root password in VMware vCenter Server Appliance
December 16, 2021. Administration

1. Before starting reset root password process make sure to take the snapshot of VMware vCenter server appliance virtual machine. 2. Connect on ESXi host where vCenter running and reset vCenter then press 'e' to enter in GRUB menu, now add to end line where is $systemd_cmdline: rw init=/bin/bash […]
November 24, 2021
SAMBA Domain Member as File Server
November 24, 2021. Administration

One of the most common ways to network Debian GNU/Linux and Windows computers is to configure Samba Domain Member as a File Server. This section covers : Adding Samba as domain member Set up shares to act as a file server. Use domain users and groups to setup ACLs. Adding Samba as domain member […]
November 22, 2021
Samba4 Domain Password Policy
November 22, 2021. Administration

When Samba4 work in AD-DC mode, password policy can change with samba-tool: Disable password expiration for the Administrator account : samba-tool user setexpiry Administrator --noexpiry Show domain level password options : samba-tool domain passwordsettings show Disable password complexity at the […]
November 16, 2021
Replace Display Manager on Debian 11 for KDE
November 16, 2021. Administration

I using KDE Desktop and got SDDM display manager by default. But I before use MATE Desktop and by default comming with LightDM. LightDM have support for VNC and I need that feature, here is procedure how to replace SDDM with LightDM (open console as root) : apt install lightdm apt install […]
November 5, 2021
How to set System Locales
November 5, 2021. Administration

A locale is a set of environmental variables that defines the language, country, and character encoding settings (or any other special variant preferences) for your applications and shell session on a Linux system. Locale affects things such as the time/date format, the first day of the week, […]
November 2, 2021
Logical Volume Manager
November 2, 2021. Administration

Managing disk space has always been a significant task. Running out of disk space used to be the start of a long and complex series of tasks to increase the space available to a disk partition. It also required taking the system off-line. This usually involved installing a new hard drive, booting […]
October 26, 2021
Change NTP server on Debian 11
October 26, 2021. Administration

The Network Time Protocol (NTP) is a networking protocol for clock synchronization between computer systems over packet-switched, variable-latency data networks. In operation since before 1985, NTP is one of the oldest Internet protocols in current use. NTP was designed by David L. Mills of the […]