I am trying to create a NIS group with a member list that exceeds 1024 characters. Now I can't do that because the database that NIS uses restricts the value part of the key/value pair to 1024 characters.
The internet suggests that I should be able to break up the list and have sub-lists as members of the main list, but it doesn't seem to work for me.
Theoretically, I should be able to go:
group:x:999:sublist1,sublist2
sublist1:x:998:a,b,c, [...]
sublist2:x:997:m,n,o, [...]
Then make and deal with nscd caches... if I then check a user account involved:
$ id
[...]
groups=[...],998(sublist2)
Since I want to use the group group
, I should be able to go:
$ newgrp group
Sorry.
...but it doesn't work.
What am I doing wrong here?