User Management Linux

Create a new user account with login access and dedicated home path.


When invoked, useradd creates a new user account according to the options specified on the command line and the default values set in the /etc/default/useradd file.
The variables defined in this file differ from distribution to distribution, which causes the useradd command to produce different results on different systems.

useradd also reads the content of the /etc/login.defs file.
This file contains configuration for the shadow password suite such as password expiration policy, ranges of user IDs used when creating system and regular users, and more.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.