Yeah, the primary group is ‘users’, I’ve got a secondary group attached to it too but even if I make a new user that only has ‘users’ as a group, it still doesn’t work as expected.
$ node
> var userid = require('userid')
undefined
> userid.gid("joel")
Error: groupname not found
at Error (native)
at Object.exports.gid (/usr/games/minecraft/node_modules/userid/lib/userid.js:39:18)
at repl:1:8
at REPLServer.defaultEval (repl.js:262:27)
at bound (domain.js:287:14)
at REPLServer.runBound [as eval] (domain.js:300:12)
at REPLServer.<anonymous> (repl.js:431:12)
at emitOne (events.js:82:20)
at REPLServer.emit (events.js:169:7)
at REPLServer.Interface._onLine (readline.js:211:10)
I’m reasonably sure its apart of a real group. (I’m not a Linux expert though so I could be missing something) The webmin panel has ‘users’ as Joel’s primary group there.
And here’s the console output.
$ id joel uid=1000(joel) gid=100(users) groups=100(users),1000(joelplex)