linux

some linux stuff

Add a system user

useradd -r -m -d /home/whatever -s /usr/bin/bash whatever

Explanation

-r : create a system user

-m : create a home directory for this user

-d : path for the homedirectory

-s : login shell for the user

2024-02-22 11:30 · jjadmin