Unlock the Power of Open Source! The " Linux New " SWAYAM Plus Course is live now and about 2,500 learners have already registered for it.

If you are a registered learner, the forum page is now active. Visit the page and get all your questions answered.

Assigning groups on user creation - English

2632 visits



Outline:

Assigning Groups on User Creation Creating a user group addgroup command Group id Assigning user to the group Creating user group with specific group id Assigning groups to users at the time of account creation using "ingroup" option Assigning groups with gid to users at the time of account creation /etc/group file /etc/passwd file Fields of /etc/group file "id username" command