Bug#910141: gnome-control-center: Adding a username with uppercase letters fails poorly

Andrea Azzarone azzaronea at gmail.com
Wed Oct 3 09:49:33 BST 2018


Package: gnome-control-center
Version: 1:3.30.1-1
Severity: normal

Dear Maintainer,

As per bug subject, adding a username with uppercase letters fails poorly. To
reproduce the problem:

[Steps to Reproduce]
1. Open gnome-control-center
2. Go to Details -> Users
3. Unlock it using the button in top-right corner
4. Click on "Add user..."
5. In the dialog, in the "Username" field enter an username with at least one
uppercase letter (e.g. "Andrea")
6. Click on "Add"

[Current behavior]
An error dialog is displayed:
- Title: Failed to add account
- Content: running '/usr/sbin/adduser' failed: Child process exited with code
1.

[Expected behavior]
gnome-control-center should not accept usernames with uppercase letters.



-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.18.0-1-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages gnome-control-center depends on:
ii  accountsservice            0.6.45-1
ii  apg                        2.2.3.dfsg.1-5
ii  colord                     1.4.3-3
ii  desktop-file-utils         0.23-3
ii  gnome-control-center-data  1:3.30.1-1
ii  gnome-desktop3-data        3.30.1-1
ii  gnome-settings-daemon      3.30.0-1
ii  gsettings-desktop-schemas  3.28.1-1
ii  libaccountsservice0        0.6.45-1
ii  libatk1.0-0                2.30.0-1
ii  libc6                      2.27-6
ii  libcairo-gobject2          1.15.12-1
ii  libcairo2                  1.15.12-1
ii  libcanberra-gtk3-0         0.30-6
ii  libcanberra0               0.30-6
ii  libcheese-gtk25            3.28.0-1
ii  libcheese8                 3.28.0-1
ii  libclutter-1.0-0           1.26.2+dfsg-5
ii  libclutter-gtk-1.0-0       1.8.4-3
ii  libcolord-gtk1             0.1.26-2
ii  libcolord2                 1.4.3-3
ii  libcups2                   2.2.8-5
ii  libfontconfig1             2.13.1-1
ii  libgdk-pixbuf2.0-0         2.38.0+dfsg-6
ii  libglib2.0-0               2.58.1-2
ii  libgnome-bluetooth13       3.28.2-2
ii  libgnome-desktop-3-17      3.30.1-1
ii  libgoa-1.0-0b              3.30.0-1
ii  libgoa-backend-1.0-1       3.30.0-1
ii  libgrilo-0.3-0             0.3.6-1
ii  libgtk-3-0                 3.24.1-2
ii  libgtop-2.0-11             2.38.0-2
ii  libgudev-1.0-0             232-2
ii  libibus-1.0-5              1.5.19-1
ii  libkrb5-3                  1.16-2
ii  libmm-glib0                1.7.990-1
ii  libnm0                     1.12.4-1
ii  libnma0                    1.8.18-2
ii  libpango-1.0-0             1.42.4-3
ii  libpangocairo-1.0-0        1.42.4-3
ii  libpolkit-gobject-1-0      0.105-21
ii  libpulse-mainloop-glib0    12.2-2
ii  libpulse0                  12.2-2
ii  libpwquality1              1.4.0-2
ii  libsecret-1-0              0.18.6-3
ii  libsmbclient               2:4.8.5+dfsg-1
ii  libsoup2.4-1               2.64.1-1
ii  libupower-glib3            0.99.8-2
ii  libwacom2                  0.30-1
ii  libwayland-server0         1.16.0-1
ii  libx11-6                   2:1.6.6-1
ii  libxi6                     2:1.7.9-1
ii  libxml2                    2.9.4+dfsg1-7+b1

Versions of packages gnome-control-center recommends:
ii  cracklib-runtime              2.9.2-5.2+b1
ii  cups-pk-helper                0.2.6-1+b1
ii  gkbd-capplet                  3.26.0-3
ii  gnome-online-accounts         3.30.0-1
ii  gnome-user-docs               3.30.0-1
ii  gnome-user-share              3.28.0-1
ii  iso-codes                     4.1-1
ii  libcanberra-pulse             0.30-6
ii  libnss-myhostname             239-10
ii  mousetweaks                   3.12.0-4
ii  network-manager-gnome         1.8.18-2
ii  policykit-1                   0.105-21
ii  pulseaudio-module-bluetooth   12.2-2
ii  realmd                        0.16.3-2
ii  rygel                         0.36.2-1
ii  rygel-tracker                 0.36.2-1
ii  system-config-printer-common  1.5.11-2

Versions of packages gnome-control-center suggests:
ii  gnome-software           3.30.0-1
ii  gstreamer1.0-pulseaudio  1.14.3-1
pn  libcanberra-gtk-module   <none>
ii  libcanberra-gtk3-module  0.30-6
ii  x11-xserver-utils        7.7+8

-- no debconf information



More information about the pkg-gnome-maintainers mailing list