Unity control center chokes on upper case in user name
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu GNOME |
Triaged
|
Medium
|
Unassigned | ||
gnome-control-center (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Xenial |
Triaged
|
Medium
|
Unassigned | ||
unity-control-center (Ubuntu) |
Fix Released
|
Medium
|
Robert Ancell | ||
Xenial |
Triaged
|
Medium
|
Unassigned |
Bug Description
1. Enter control panel
2. "Add account"
3. Use an invalid charcter, such as an upper case letter.
4. Get a confusing error message:
Failed to add account
running '/usr/sbin/adduser' failed: Child process exited with code 1'
This is an easy fix, and could keep a user from getting really confused.
For a confused user see
http://
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: unity-control-
ProcVersionSign
Uname: Linux 3.13.0-88-generic x86_64
NonfreeKernelMo
ApportVersion: 2.14.1-0ubuntu3.21
Architecture: amd64
CurrentDesktop: Unity
Date: Sun Jul 10 12:46:05 2016
ExecutablePath: /usr/bin/
ProcEnviron:
PATH=(custom, user)
SHELL=/bin/bash
LANG=en_US.UTF-8
LANGUAGE=en_US
XDG_RUNTIME_
SourcePackage: unity-control-
UpgradeStatus: No upgrade log present (probably fresh install)
usr_lib_
deja-dup 30.0-0ubuntu4
gnome-
Related branches
- Sebastien Bacher: Approve
-
Diff: 20 lines (+1/-2)1 file modifiedpanels/user-accounts/um-utils.c (+1/-2)
Changed in unity-control-center (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in unity-control-center (Ubuntu Xenial): | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in gnome-control-center (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in gnome-control-center (Ubuntu Xenial): | |
status: | New → Triaged |
importance: | Undecided → Medium |
POSIX supports upper and lower case letters, however adduser is configured by default in Debian to only allow lower case. It makes sense for Unity Control Center to only allow lower case given it is used in Ubuntu, though GNOME Control Center might still continue to allow mixed case.