Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Fedora User (http://www.linux-archive.org/fedora-user/)
-   -   getting the nologin users out of the login dialog (http://www.linux-archive.org/fedora-user/612618-getting-nologin-users-out-login-dialog.html)

Joel Rees 12-22-2011 12:24 AM

getting the nologin users out of the login dialog
 
Okay, one question at a time, even though I'm pretty sure it's just
two faces of the same problem.

In fedora14 users whose login shell (in /etc/passwd) is specified as
/sbin/nologin do not show up in the login dialog. In Fedora15, they
do.

Does any one know of a setting to fix this?

I read in the man pages for xdm about /etc/shell, but /sbin/nologin,
for all that it seems to me it should not be in there, has been in
there since before fedora13. I tried taking it out anyway, but that
didn't fix anything. Not seeing anything else in the configuration
options that addresses this.

Joel Rees
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Bruno Wolff III 12-22-2011 01:22 AM

getting the nologin users out of the login dialog
 
On Thu, Dec 22, 2011 at 10:24:24 +0900,
Joel Rees <joel.rees@gmail.com> wrote:
> Okay, one question at a time, even though I'm pretty sure it's just
> two faces of the same problem.
>
> In fedora14 users whose login shell (in /etc/passwd) is specified as
> /sbin/nologin do not show up in the login dialog. In Fedora15, they
> do.

I filed a bug about this (https://bugzilla.redhat.com/show_bug.cgi?id=670244)
and there is reference there to an upstream bug. It is marked as a
duplicate of https://bugzilla.gnome.org/show_bug.cgi?id=643444 which suggests
the problem may be upstream of gnome.
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Joe Zeff 12-22-2011 02:20 AM

getting the nologin users out of the login dialog
 
On 12/21/2011 05:24 PM, Joel Rees wrote:

In fedora14 users whose login shell (in /etc/passwd) is specified as
/sbin/nologin do not show up in the login dialog. In Fedora15, they
do.

Does any one know of a setting to fix this?


It's quite possible it's a bug in the login manager. If you're using
gdm, try switching to kdm, or the other way around. If it only shows up
in one, report it.

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Joel Rees 12-22-2011 02:54 AM

getting the nologin users out of the login dialog
 
On Thu, Dec 22, 2011 at 11:22 AM, Bruno Wolff III <bruno@wolff.to> wrote:
> On Thu, Dec 22, 2011 at 10:24:24 +0900,
> *Joel Rees <joel.rees@gmail.com> wrote:
>> Okay, one question at a time, even though I'm pretty sure it's just
>> two faces of the same problem.
>>
>> In fedora14 users whose login shell (in /etc/passwd) is specified as
>> /sbin/nologin do not show up in the login dialog. In Fedora15, they
>> do.
>
> I filed a bug about this (https://bugzilla.redhat.com/show_bug.cgi?id=670244)
> and there is reference there to an upstream bug. It is marked as a
> duplicate of https://bugzilla.gnome.org/show_bug.cgi?id=643444 which suggests
> the problem may be upstream of gnome.

X11?

Okay, thanks. And thanks for saving me the trouble of filing the bug.
I'll put myself on tracking for it, I think.
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Joel Rees 12-22-2011 02:57 AM

getting the nologin users out of the login dialog
 
On Thu, Dec 22, 2011 at 12:20 PM, Joe Zeff <joe@zeff.us> wrote:
> On 12/21/2011 05:24 PM, Joel Rees wrote:
>>
>> In fedora14 users whose login shell (in /etc/passwd) is specified as
>> /sbin/nologin do not show up in the login dialog. In Fedora15, they
>> do.
>>
>> Does any one know of a setting to fix this?
>
>
> It's quite possible it's a bug in the login manager. *If you're using gdm,
> try switching to kdm, or the other way around. *If it only shows up in one,
> report it.

Okay, that sounds like a fun thing to try. (Well, since Bruno reported
it, I can just track the bug, instead.)

Any idea where I should start on switching to kdm? I kept reading
something about a switcher application, I suppose I should look at
that some more?
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Craig White 12-22-2011 03:19 AM

getting the nologin users out of the login dialog
 
On Thu, 2011-12-22 at 12:57 +0900, Joel Rees wrote:
> On Thu, Dec 22, 2011 at 12:20 PM, Joe Zeff <joe@zeff.us> wrote:
> > On 12/21/2011 05:24 PM, Joel Rees wrote:
> >>
> >> In fedora14 users whose login shell (in /etc/passwd) is specified as
> >> /sbin/nologin do not show up in the login dialog. In Fedora15, they
> >> do.
> >>
> >> Does any one know of a setting to fix this?
> >
> >
> > It's quite possible it's a bug in the login manager. If you're using gdm,
> > try switching to kdm, or the other way around. If it only shows up in one,
> > report it.
>
> Okay, that sounds like a fun thing to try. (Well, since Bruno reported
> it, I can just track the bug, instead.)
>
> Any idea where I should start on switching to kdm? I kept reading
> something about a switcher application, I suppose I should look at
> that some more?
----
http://lists.fedoraproject.org/pipermail/kde/2011-May/009431.html

Craig


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Joel Rees 12-23-2011 08:08 AM

getting the nologin users out of the login dialog
 
On Thu, Dec 22, 2011 at 1:19 PM, Craig White <craigwhite@azapple.com> wrote:
> On Thu, 2011-12-22 at 12:57 +0900, Joel Rees wrote:
>> On Thu, Dec 22, 2011 at 12:20 PM, Joe Zeff <joe@zeff.us> wrote:
>> > On 12/21/2011 05:24 PM, Joel Rees wrote:
>> >>
>> >> In fedora14 users whose login shell (in /etc/passwd) is specified as
>> >> /sbin/nologin do not show up in the login dialog. In Fedora15, they
>> >> do.
>> >>
>> >> Does any one know of a setting to fix this?
>> >
>> >
>> > It's quite possible it's a bug in the login manager. *If you're using gdm,
>> > try switching to kdm, or the other way around. *If it only shows up in one,
>> > report it.
>>
>> Okay, that sounds like a fun thing to try. (Well, since Bruno reported
>> it, I can just track the bug, instead.)
>>
>> Any idea where I should start on switching to kdm? I kept reading
>> something about a switcher application, I suppose I should look at
>> that some more?
> ----
> http://lists.fedoraproject.org/pipermail/kde/2011-May/009431.html

Thanks!

Okay, so I created

/etc/sysconfig/desktop

with the lines

DESKTOP="KDE"
DISPLAYMANAGER="KDE"

and X11 gives me gives me the kde login screen. (At least, I've never
seen the gnome login screen provide all those great options, like
restarting the X server. :-)

But I don't get a user list. Just the user name and password fields,
which is not bad, and my family can probably get used to it, but it
doesn't really tell me what's happening.

Nosing around the web, I found the kdm docs,

http://docs.kde.org/stable/en/kdebase-workspace/kdm/kdm-files.html

and there's a UserList option in there. So I go edit
/etc/kde/kdm/kdmrc , change UserList to true and it ignores me. Must
be some file that overrides that in Fedora.

The description of the options tells me a lot, however. It looks like
the new specification here is to show all users in a specified range
which have a defined password. Or you can hard-wire your list of
users.

That's a serious spec bug, and I guess I'll have to go hassle the
freedesktop group about it.

The previous chapter describes KDE's GUI configuration tool, which I
have not got, I suppose I should load that and see if I can get it to
change something for me.
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

"T.C. Hollingsworth" 12-23-2011 01:55 PM

getting the nologin users out of the login dialog
 
On Fri, Dec 23, 2011 at 2:08 AM, Joel Rees <joel.rees@gmail.com> wrote:
> But I don't get a user list. Just the user name and password fields,
> which is not bad, and my family can probably get used to it, but it
> doesn't really tell me what's happening.
>
> Nosing around the web, I found the kdm docs,
>
> http://docs.kde.org/stable/en/kdebase-workspace/kdm/kdm-files.html
>
> and there's a UserList option in there. So I go edit
> /etc/kde/kdm/kdmrc , change UserList to true and it ignores me. Must
> be some file that overrides that in Fedora.

The Fedora custom theme doesn't have support for user lists, so that
option has no effect. Pick a theme that does (the "Oxygen" theme
installed by default does, for instance) and it should work. You
could also use the old-school greeter dialog instead, which also
supports user lists.

<snip>

> The previous chapter describes KDE's GUI configuration tool, which I
> have not got, I suppose I should load that and see if I can get it to
> change something for me.

Looks like kdm includes its own system settings module, but may not
have a dependency on the KDE system settings application. Make sure
"kdebase-runtime" is installed and then just run "kcmshell4 kdm".

-T.C.
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Joel Rees 01-03-2012 04:52 AM

getting the nologin users out of the login dialog
 
A bug for the change in /bin/nologin default shell behavior has been
recently added to the freedesktop bugzilla:

https://bugs.freedesktop.org/show_bug.cgi?id=44408

On Fri, Dec 23, 2011 at 6:08 PM, Joel Rees <joel.rees@gmail.com> wrote:
> On Thu, Dec 22, 2011 at 1:19 PM, Craig White <craigwhite@azapple.com> wrote:
>> On Thu, 2011-12-22 at 12:57 +0900, Joel Rees wrote:
>>> On Thu, Dec 22, 2011 at 12:20 PM, Joe Zeff <joe@zeff.us> wrote:
>>> > On 12/21/2011 05:24 PM, Joel Rees wrote:
>>> >>
>>> >> In fedora14 users whose login shell (in /etc/passwd) is specified as
>>> >> /sbin/nologin do not show up in the login dialog. In Fedora15, they
>>> >> do.
>>> >>
>>> >> Does any one know of a setting to fix this?
>>> >
>>> >
>>> > It's quite possible it's a bug in the login manager. *If you're using gdm,
>>> > try switching to kdm, or the other way around. *If it only shows up in one,
>>> > report it.
>>>
>>> Okay, that sounds like a fun thing to try. (Well, since Bruno reported
>>> it, I can just track the bug, instead.)
>>>
>>> Any idea where I should start on switching to kdm? I kept reading
>>> something about a switcher application, I suppose I should look at
>>> that some more?
>> ----
>> http://lists.fedoraproject.org/pipermail/kde/2011-May/009431.html
>
> Thanks!
>
> Okay, so I created
>
> * */etc/sysconfig/desktop
>
> with the lines
>
> * *DESKTOP="KDE"
> * *DISPLAYMANAGER="KDE"
>
> and X11 gives me gives me the kde login screen. (At least, I've never
> seen the gnome login screen provide all those great options, like
> restarting the X server. :-)
>
> But I don't get a user list. Just the user name and password fields,
> which is not bad, and my family can probably get used to it, but it
> doesn't really tell me what's happening.
>
> Nosing around the web, I found the kdm docs,
>
> http://docs.kde.org/stable/en/kdebase-workspace/kdm/kdm-files.html
>
> and there's a UserList option in there. So I go edit
> /etc/kde/kdm/kdmrc , change UserList to true and it ignores me. Must
> be some file that overrides that in Fedora.
>
> The description of the options tells me a lot, however. It looks like
> the new specification here is to show all users in a specified range
> which have a defined password. Or you can hard-wire your list of
> users.
>
> That's a serious spec bug, and I guess I'll have to go hassle the
> freedesktop group about it.
>
> The previous chapter describes KDE's GUI configuration tool, which I
> have not got, I suppose I should load that and see if I can get it to
> change something for me.

--
Joel Rees
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


All times are GMT. The time now is 06:52 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.