PrepAway - Latest Free Exam Questions & Answers

Which file should you modify to change the number of groups to which a user can belong?

Which file should you modify to change the number of groups to which a user can belong?

PrepAway - Latest Free Exam Questions & Answers

A.
/etc/group

B.
/etc/system

C.
/etc/default/login

D.
/etc/default/passwd

Explanation:

files /etc/group, /etc/default/login and /etc/default/passwd do not contain the default number of groups to which a user can belong.
The default number of groups for each user is set by NGROUPS_MAX to be 16 by default.
This can be checked via the command: getconf NGROUPS_MAX This number can be increased to an absolute value of 32 via set ngroups_max=32 being set within the /etc/system file and then rebooting with a boot r command.


Leave a Reply