On Tue, Jan 17, 2023 at 05:22:19PM +0200, Timo Lindfors wrote:
> I just noticed that if I create a user from Gnome/Settings/Users they will
> have their shell set to /usr/sbin/nologin. The user can login but cannot
> start a terminal. This occurs in a clean sid VM but does not occur in a
> clean Debian 11 VM.
> 
> It seems the UI calls accounts-daemon over dbus and that then runs
> 
> adduser --quiet --disabled-login --gecos username username
> 
> in both cases.
> 
> Is this a separate bug that should be reported against some package?

Yes, that's the UI's error, it just gets what it asks for: A user that
cannot login.

> Oh and btw, the man page in 3.130 seems to have some syntax issue since
> groff markup is shown to the user:
> 
> $ man adduser | grep fP
>               duse's scope.  --disabled-login will additional set the shell
> to  /usr/sbin/nologin/fP.   Valid

That was fixed in git last week, thanks for spotting this.

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Leimen, Germany    |  lose things."    Winona Ryder | Fon: *49 6224 1600402
Nordisch by Nature |  How to make an American Quilt | Fax: *49 6224 1600421

Reply via email to