Groupadd test create text user group
Useradd user1 create user1 user
Passwd user1 set the password user1
Gpasswd -a user1 text add user to text user group
Grep 'text'/etc/group shows the text all users in the user group
Page link:https//www.codepudding.com/os/35089.html