Group Management - RHCSA

What is a group?

Two or more people interact with each other is called a group. But in computing environment (in our case system administration) groups are used to make sysadmin life easy😜. For an example in office environment there are groups called HR, Financial, IT, Admin like that. We add particular people to this groups. So management of users will easy.

Characteristic of a group

  • Name 
  • gid - Group ID
  • Password - Not essential
  • Users

 How to create a group ?

It is not a difficult case. There is a simple command named groupadd.
<group name> should be changed. Use relevant name for it.
After executing this command group is created.
So we need to retrieve it. Use following command for it.
Because group details are in /etc/group path.

Furthermore we can create a group with different gid. For that use following command.
[gid] and <group name> should be replaced with the relevant details.
For deleting a group we use groupdel command.
<group name>  should be replaced with the relevant group name.



next chapter ---> user and group management


Comments

Popular posts from this blog

Add Cisco Layer 2 Switch in GNS3 - GNS3 වලට Cisco Layer2 Switch à¶‘à¶šà¶š් ADD à¶šිà¶»ීම

User Management (3) - RHCSA

Interrupt the kernel to change the fstab - RHCSA