2 Ekim 2023 Pazartesi

groupadd komutu

Giriş

--system seçeneği
Sistem grubu yaratır. Açıklaması şöyle
System groups are groups that are used by the system itself, such as the audio group for sound devices or the disk group for disk devices.

System groups have a number of special properties:

- They are assigned a unique group ID (GID) from a reserved range of GIDs.
- They cannot be deleted by regular users.
- They can only be modified by the system administrator.
Örnek
Şöyle yaparız
# Create a system group for Prometheus
sudo groupadd --system prometheus

# Create a system user for Prometheus with /sbin/nologin shell
sudo useradd -s /sbin/nologin --system -g prometheus prometheus


nproc komutu - İşlemci Sayısını Döner

Örnek ver