Re: sddm - any config to not advertise user names?

Mark Knecht <[email protected]> Mon, 18 Jul 2016 06:23:34 -0700
Newsgroups gmane.linux.gentoo.amd64
Message-ID <CAK2H+eekNg20OOp6N12LS2kLWYE=jGB9e=pX1=D0NTX6Jn2YdA@mail.gmail.com>
--001a113cf99215b7ef0537e8e0d6
Content-Type: text/plain; charset=UTF-8

On Mon, Jul 18, 2016 at 6:11 AM, Rich Freeman <[email protected]> wrote:
>
> On Mon, Jul 18, 2016 at 6:00 AM, malc <[email protected]> wrote:
> >
> > From man sddm.conf
> >        MinimumUid=
> >               Minimum user id of the users to be listed in the user
> > interface.  Default value is 1000.
> >        MaximumUid=
> >               Maximum user id of the users to be listed in the user
> > interface.  Default value is 60000
> >
> > Presume if you just set MinimumUid to some high value - you'd get the
> > behaviour you desire.
> >
>
> This still won't give you a username prompt as far as I can tell.  If
> it works I'm all ears as this behavior drives me nuts (I want to list
> a few non-contiguous users as most of my UIDs don't log in and I hate
> having to scroll every time I do log in).  I suspect that setting the
> minimum UID to a large number would just prevent you from logging in
> at all, but please let us know if it works.
>

There is another option in the config file

# Hidden users

HideUsers=

No documentation that I've found but if it takes a non-contiguous list then
it might help get rid of some of the list.

Or take your chances and reassign user numbers?

I don't personally have a lot of interest but I see that it apparently runs
a setup script which could probably be modified:

[XDisplay]
# Xsetup script path
# A script to execute when starting the display server
DisplayCommand=/usr/share/sddm/scripts/Xsetup

The other thing I liked about kdm was that the login only showed on my
first monitor whereas sddm is showing it on all 3. Not a big deal as I
pretty much boot up in the morning and log in.

Cheers,
Mark

--001a113cf99215b7ef0537e8e0d6
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><br>On Mon, Jul 18, 2016 at 6:11 AM, Rich Freeman &lt;=
<a href=3D"mailto:[email protected]">[email protected]</a>&gt; wrote:<br>&gt;=
<br>&gt; On Mon, Jul 18, 2016 at 6:00 AM, malc &lt;<a href=3D"mailto:mlashl=
[email protected]">[email protected]</a>&gt; wrote:<br>&gt; &gt;<br>&gt; &gt; F=
rom man sddm.conf<br>&gt; &gt; =C2=A0 =C2=A0 =C2=A0 =C2=A0MinimumUid=3D<br>=
&gt; &gt; =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Minimum user id =
of the users to be listed in the user<br>&gt; &gt; interface.=C2=A0 Default=
 value is 1000.<br>&gt; &gt; =C2=A0 =C2=A0 =C2=A0 =C2=A0MaximumUid=3D<br>&g=
t; &gt; =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Maximum user id of=
 the users to be listed in the user<br>&gt; &gt; interface.=C2=A0 Default v=
alue is 60000<br>&gt; &gt;<br>&gt; &gt; Presume if you just set MinimumUid =
to some high value - you&#39;d get the<br>&gt; &gt; behaviour you desire.<b=
r>&gt; &gt;<br>&gt;<br>&gt; This still won&#39;t give you a username prompt=
 as far as I can tell.=C2=A0 If<br>&gt; it works I&#39;m all ears as this b=
ehavior drives me nuts (I want to list<br>&gt; a few non-contiguous users a=
s most of my UIDs don&#39;t log in and I hate<br>&gt; having to scroll ever=
y time I do log in).=C2=A0 I suspect that setting the<br>&gt; minimum UID t=
o a large number would just prevent you from logging in<br>&gt; at all, but=
 please let us know if it works.<br>&gt;<br><br>There is another option in =
the config file<br><br># Hidden users =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0<br>Hi=
deUsers=3D =C2=A0 <br><br>No documentation that I&#39;ve found but if it ta=
kes a non-contiguous list then it might help get rid of some of the list.=
=C2=A0<br><div><br></div><div>Or take your chances and reassign user number=
s?</div><div><br></div>I don&#39;t personally have a lot of interest but I =
see that it apparently runs a setup script which could probably be modified=
:<br><br>[XDisplay]<br># Xsetup script path<br># A script to execute when s=
tarting the display server<br>DisplayCommand=3D/usr/share/sddm/scripts/Xset=
up<div><br></div><div>The other thing I liked about kdm was that the login =
only showed on my first monitor whereas sddm is showing it on all 3. Not a =
big deal as I pretty much boot up in the morning and log in.</div><div><br>=
</div><div>Cheers,</div><div>Mark</div></div>

--001a113cf99215b7ef0537e8e0d6--