gdm greeter configuration: Exclude all *except* for one specific user
I have Googled this one and tried so many combinations, with no success.
I need the GDM login greeter to display one and only one username. In effect, what I need is something like this in /etc/gdm/custom.conf:
[greeter]
ExcludeAll=true
Include=guest
This does not work, however, because ExcludeAll is not a valid option. IncludeAll=false does nothing either. I've tried every combination that I can think of.
Despite being discouraged, I modified /etc/gdm/gdm.schemas, trying a variety of combinations similar to the above. No go.
I am aware of:
gconftool-2 --config-source xml:readwrite:/etc/gconf/gconf.xml.defaults --direct --type bool --set /apps/gdm/simple-greeter/disable_user_list true
but this is not an applicable solution, as it removes the user list completely. I need one specific username to appear.
The only practical solution I can find is to, upon user login, run a script which will append that username to the "Exclude" list in /etc/gdm/custom.conf. This is hacky, and not preferable.
This is for a public-use machine. People can log in with their LDAP accounts if they have them, or they can select "Guest" from the login screen. The people who log in with their LDAP accounts should NOT have their names visible on the login screen, but the "Guest" option must remain.
Using gnome 2.28.
security gnome login gdm privacy
bumped to the homepage by Community♦ 4 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
I have Googled this one and tried so many combinations, with no success.
I need the GDM login greeter to display one and only one username. In effect, what I need is something like this in /etc/gdm/custom.conf:
[greeter]
ExcludeAll=true
Include=guest
This does not work, however, because ExcludeAll is not a valid option. IncludeAll=false does nothing either. I've tried every combination that I can think of.
Despite being discouraged, I modified /etc/gdm/gdm.schemas, trying a variety of combinations similar to the above. No go.
I am aware of:
gconftool-2 --config-source xml:readwrite:/etc/gconf/gconf.xml.defaults --direct --type bool --set /apps/gdm/simple-greeter/disable_user_list true
but this is not an applicable solution, as it removes the user list completely. I need one specific username to appear.
The only practical solution I can find is to, upon user login, run a script which will append that username to the "Exclude" list in /etc/gdm/custom.conf. This is hacky, and not preferable.
This is for a public-use machine. People can log in with their LDAP accounts if they have them, or they can select "Guest" from the login screen. The people who log in with their LDAP accounts should NOT have their names visible on the login screen, but the "Guest" option must remain.
Using gnome 2.28.
security gnome login gdm privacy
bumped to the homepage by Community♦ 4 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
See: How to hide users from the GDM login screen?
– eyoung100
Apr 16 '14 at 2:54
Right, that's exactly what I meant in my message. I know how to exclude specific users, and I know how to hide all users, but I don't know how to exclude ALL but one user.
– CptSupermrkt
Apr 16 '14 at 16:18
Try using the link I gave to hide 1 User first. When you successfully hide 1 user, change the line that hides the one user to include 2 usernames etc until you've hidden all but the one you want. Personally I would take a different approach. See Possible Answer below.
– eyoung100
Apr 16 '14 at 17:37
1
We have thousands of users and can't maintain a list of exclusions.
– CptSupermrkt
Apr 16 '14 at 18:42
Then read my answer below... If you can't do that, put the "thousands of users" in a group, and hide the group
– eyoung100
Apr 16 '14 at 18:49
add a comment |
I have Googled this one and tried so many combinations, with no success.
I need the GDM login greeter to display one and only one username. In effect, what I need is something like this in /etc/gdm/custom.conf:
[greeter]
ExcludeAll=true
Include=guest
This does not work, however, because ExcludeAll is not a valid option. IncludeAll=false does nothing either. I've tried every combination that I can think of.
Despite being discouraged, I modified /etc/gdm/gdm.schemas, trying a variety of combinations similar to the above. No go.
I am aware of:
gconftool-2 --config-source xml:readwrite:/etc/gconf/gconf.xml.defaults --direct --type bool --set /apps/gdm/simple-greeter/disable_user_list true
but this is not an applicable solution, as it removes the user list completely. I need one specific username to appear.
The only practical solution I can find is to, upon user login, run a script which will append that username to the "Exclude" list in /etc/gdm/custom.conf. This is hacky, and not preferable.
This is for a public-use machine. People can log in with their LDAP accounts if they have them, or they can select "Guest" from the login screen. The people who log in with their LDAP accounts should NOT have their names visible on the login screen, but the "Guest" option must remain.
Using gnome 2.28.
security gnome login gdm privacy
I have Googled this one and tried so many combinations, with no success.
I need the GDM login greeter to display one and only one username. In effect, what I need is something like this in /etc/gdm/custom.conf:
[greeter]
ExcludeAll=true
Include=guest
This does not work, however, because ExcludeAll is not a valid option. IncludeAll=false does nothing either. I've tried every combination that I can think of.
Despite being discouraged, I modified /etc/gdm/gdm.schemas, trying a variety of combinations similar to the above. No go.
I am aware of:
gconftool-2 --config-source xml:readwrite:/etc/gconf/gconf.xml.defaults --direct --type bool --set /apps/gdm/simple-greeter/disable_user_list true
but this is not an applicable solution, as it removes the user list completely. I need one specific username to appear.
The only practical solution I can find is to, upon user login, run a script which will append that username to the "Exclude" list in /etc/gdm/custom.conf. This is hacky, and not preferable.
This is for a public-use machine. People can log in with their LDAP accounts if they have them, or they can select "Guest" from the login screen. The people who log in with their LDAP accounts should NOT have their names visible on the login screen, but the "Guest" option must remain.
Using gnome 2.28.
security gnome login gdm privacy
security gnome login gdm privacy
asked Apr 15 '14 at 20:01
CptSupermrkt
6973923
6973923
bumped to the homepage by Community♦ 4 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 4 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
See: How to hide users from the GDM login screen?
– eyoung100
Apr 16 '14 at 2:54
Right, that's exactly what I meant in my message. I know how to exclude specific users, and I know how to hide all users, but I don't know how to exclude ALL but one user.
– CptSupermrkt
Apr 16 '14 at 16:18
Try using the link I gave to hide 1 User first. When you successfully hide 1 user, change the line that hides the one user to include 2 usernames etc until you've hidden all but the one you want. Personally I would take a different approach. See Possible Answer below.
– eyoung100
Apr 16 '14 at 17:37
1
We have thousands of users and can't maintain a list of exclusions.
– CptSupermrkt
Apr 16 '14 at 18:42
Then read my answer below... If you can't do that, put the "thousands of users" in a group, and hide the group
– eyoung100
Apr 16 '14 at 18:49
add a comment |
See: How to hide users from the GDM login screen?
– eyoung100
Apr 16 '14 at 2:54
Right, that's exactly what I meant in my message. I know how to exclude specific users, and I know how to hide all users, but I don't know how to exclude ALL but one user.
– CptSupermrkt
Apr 16 '14 at 16:18
Try using the link I gave to hide 1 User first. When you successfully hide 1 user, change the line that hides the one user to include 2 usernames etc until you've hidden all but the one you want. Personally I would take a different approach. See Possible Answer below.
– eyoung100
Apr 16 '14 at 17:37
1
We have thousands of users and can't maintain a list of exclusions.
– CptSupermrkt
Apr 16 '14 at 18:42
Then read my answer below... If you can't do that, put the "thousands of users" in a group, and hide the group
– eyoung100
Apr 16 '14 at 18:49
See: How to hide users from the GDM login screen?
– eyoung100
Apr 16 '14 at 2:54
See: How to hide users from the GDM login screen?
– eyoung100
Apr 16 '14 at 2:54
Right, that's exactly what I meant in my message. I know how to exclude specific users, and I know how to hide all users, but I don't know how to exclude ALL but one user.
– CptSupermrkt
Apr 16 '14 at 16:18
Right, that's exactly what I meant in my message. I know how to exclude specific users, and I know how to hide all users, but I don't know how to exclude ALL but one user.
– CptSupermrkt
Apr 16 '14 at 16:18
Try using the link I gave to hide 1 User first. When you successfully hide 1 user, change the line that hides the one user to include 2 usernames etc until you've hidden all but the one you want. Personally I would take a different approach. See Possible Answer below.
– eyoung100
Apr 16 '14 at 17:37
Try using the link I gave to hide 1 User first. When you successfully hide 1 user, change the line that hides the one user to include 2 usernames etc until you've hidden all but the one you want. Personally I would take a different approach. See Possible Answer below.
– eyoung100
Apr 16 '14 at 17:37
1
1
We have thousands of users and can't maintain a list of exclusions.
– CptSupermrkt
Apr 16 '14 at 18:42
We have thousands of users and can't maintain a list of exclusions.
– CptSupermrkt
Apr 16 '14 at 18:42
Then read my answer below... If you can't do that, put the "thousands of users" in a group, and hide the group
– eyoung100
Apr 16 '14 at 18:49
Then read my answer below... If you can't do that, put the "thousands of users" in a group, and hide the group
– eyoung100
Apr 16 '14 at 18:49
add a comment |
1 Answer
1
active
oldest
votes
Instead of hiding all but one user why can you not create just 1 user for all lab pc's, and install that user locally on each machine? Then enable sharing this way:
If a user is on the LDAP Server allow the user to login to devices etc while logged in as guest, by providing their LDAP credentials, only when needed instead of allowing them to login via GDM
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f124955%2fgdm-greeter-configuration-exclude-all-except-for-one-specific-user%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Instead of hiding all but one user why can you not create just 1 user for all lab pc's, and install that user locally on each machine? Then enable sharing this way:
If a user is on the LDAP Server allow the user to login to devices etc while logged in as guest, by providing their LDAP credentials, only when needed instead of allowing them to login via GDM
add a comment |
Instead of hiding all but one user why can you not create just 1 user for all lab pc's, and install that user locally on each machine? Then enable sharing this way:
If a user is on the LDAP Server allow the user to login to devices etc while logged in as guest, by providing their LDAP credentials, only when needed instead of allowing them to login via GDM
add a comment |
Instead of hiding all but one user why can you not create just 1 user for all lab pc's, and install that user locally on each machine? Then enable sharing this way:
If a user is on the LDAP Server allow the user to login to devices etc while logged in as guest, by providing their LDAP credentials, only when needed instead of allowing them to login via GDM
Instead of hiding all but one user why can you not create just 1 user for all lab pc's, and install that user locally on each machine? Then enable sharing this way:
If a user is on the LDAP Server allow the user to login to devices etc while logged in as guest, by providing their LDAP credentials, only when needed instead of allowing them to login via GDM
answered Apr 16 '14 at 17:38
eyoung100
4,7801441
4,7801441
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f124955%2fgdm-greeter-configuration-exclude-all-except-for-one-specific-user%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
See: How to hide users from the GDM login screen?
– eyoung100
Apr 16 '14 at 2:54
Right, that's exactly what I meant in my message. I know how to exclude specific users, and I know how to hide all users, but I don't know how to exclude ALL but one user.
– CptSupermrkt
Apr 16 '14 at 16:18
Try using the link I gave to hide 1 User first. When you successfully hide 1 user, change the line that hides the one user to include 2 usernames etc until you've hidden all but the one you want. Personally I would take a different approach. See Possible Answer below.
– eyoung100
Apr 16 '14 at 17:37
1
We have thousands of users and can't maintain a list of exclusions.
– CptSupermrkt
Apr 16 '14 at 18:42
Then read my answer below... If you can't do that, put the "thousands of users" in a group, and hide the group
– eyoung100
Apr 16 '14 at 18:49