SpongeB0B Member Joined Feb 11, 2022 Messages 30 Reaction score 7 Credits 270 Apr 25, 2022 #1 Hi everyone, is there a way to assign admin right for a group ? meaning that this user will be able to add, remove membership of this group ? Thanks
Hi everyone, is there a way to assign admin right for a group ? meaning that this user will be able to add, remove membership of this group ? Thanks
dos2unix Well-Known Member Joined May 3, 2019 Messages 2,640 Reaction score 2,361 Credits 20,793 Apr 25, 2022 #2 Generally it's a root function. There is always sudo, and the "wheel" group. The other option is... every user has their own group when they get created. User bob ahas a group called bob. You can do some things with that group. usermod -g john bob
Generally it's a root function. There is always sudo, and the "wheel" group. The other option is... every user has their own group when they get created. User bob ahas a group called bob. You can do some things with that group. usermod -g john bob
OP SpongeB0B Member Joined Feb 11, 2022 Messages 30 Reaction score 7 Credits 270 Apr 25, 2022 #3 Thank you @dos2unix , but I've found what I was looking for -> gpasswd(1): administer /etc/group//etc/gshadow - Linux man page The gpasswd command is used to administer /etc/group, and /etc/gshadow. Every group can have administrators, members and a password. linux.die.net -A, --administrators user,... Set the list of administrative users. Click to expand...
Thank you @dos2unix , but I've found what I was looking for -> gpasswd(1): administer /etc/group//etc/gshadow - Linux man page The gpasswd command is used to administer /etc/group, and /etc/gshadow. Every group can have administrators, members and a password. linux.die.net -A, --administrators user,... Set the list of administrative users. Click to expand...