How Do I Manage Groups in Linux?
Contents

How groups are managed in Linux OS?

There are 2 categories of groups in the Linux operating system i.e. Primary and Secondary groups. … This group is called the primary group. The secondary group is a group that can be created separately with the help of commands and we can then add users to it by changing the group ID of users.

How do I manage users and groups in Linux?

These operations are performed using the following commands:

  1. adduser : add a user to the system.
  2. userdel : delete a user account and related files.
  3. addgroup : add a group to the system.
  4. delgroup : remove a group from the system.
  5. usermod : modify a user account.
  6. chage : change user password expiry information.

30 июл. 2018 г.

James H. Sterling

James H. Sterling

Environmental Science & Climate Journalist

James Sterling reports on renewable energy developments, climate policy, ecological conservation, and green tech innovations around the globe.

Share this article
Twitter Facebook Pinterest