Linux User and Group Management Essentials
User Management
Creating Users
The useradd command creates new user accounts. By default, the system automatically generates a home directory under /home/ using the username.
useradd jerry
To specify a custom home directory path, use the -d option:
useradd -d /opt/custompath jerry
After creating a user, set or update the password with the pas ...
Posted on Sat, 16 May 2026 05:03:00 +0000 by andrewdunstall