计算机中有多个账户,不想禁用用户列表,也不想全显示。 网上搜到的一些办法又不适用于CentOS 7。 最后找到下边这个办法,记在这里。 参考:https://wiki.archlinux.org/index.php/GDM#Hide_user_from_login_list Hide user from login list 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 SystemAccount=true