darkyzhou / seele

面向云原生的在线评测系统. Cloud-Native oriented Online Judge system
https://seele.darkyzhou.net
MIT License
67 stars 3 forks source link

fix: use user name to find subgid #7

Closed yzy-1 closed 1 year ago

yzy-1 commented 1 year ago

当 config.toml 里用户名和组名不相同时会报错,经过查阅文档发现 /etc/subgid 第一列的值是 uid 或用户名而不是组名.

https://www.man7.org/linux/man-pages/man5/subgid.5.html