Topic 107: Administrative Tasks1 / 5
An attempt to delete the group builders is refused because one account still has builders as its primary group. According to groupdel(8), what is the effect of adding the --force option?
CorrectIncorrect
Alex
A primary group is referenced by numeric ID in every account record and in the ownership of the files that account creates, so removing it leaves dangling references behind. Account tools therefore refuse the deletion while an account still points at the group, and offer a force flag for the administrator who has decided to accept the consequences. Forcing the removal fixes the refusal, not the dangling references: accounts keep a numeric group ID that no longer resolves to a name, and files keep an owner group that no longer exists. The documentation makes that division of labour explicit by telling the administrator to check the file systems by hand afterwards. The safe order remains to move accounts to another primary group first and then delete the group.
Sourcelearning.lpi.org
Follow-up answers are available in the app. Create a free account — no credit card required.
Question 1 of 5
Create a free account