|||
网上搜到的一些办法又不适用于CentOS 7。
最后找到下边这个办法,记在这里。
The users for the gdm user list are gathered by accountsservice. It will automatically hide system users (UID < 1000). To hide ordinary users from the login list create or edit a file named after the user to hide in /var/lib/AccountsService/users/ to contain at least:
/var/lib/AccountsService/users/<username>[User] SystemAccount=trueArchiver|手机版|科学网 ( 京ICP备07017567号-12 )
GMT+8, 2024-11-25 02:05
Powered by ScienceNet.cn
Copyright © 2007- 中国科学报社