Installer will not allow username with fullstop in it

Bug #288677 reported by JohnFlux
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
user-setup (Ubuntu)
Triaged
Wishlist
Unassigned

Bug Description

If I try to create a user with the username, say, John.flux then it complains that the "." is not a valid character.

If I create the user on the command line (with adduser), it works. I have now been using the username "john.flux" for the last year in Ubuntu with no sideeffects or problems at all. It appears to be entirely safe to do so.

The reason that I need to have this username is for the revision control system that the company uses. My windows username is "John.Flux" and so my linux username needs to be the same. The revision control system uses the username for commits etc.

I should add that this 'problem' occurs in both the gnome and kde frontends.

JohnFlux (johnflux)
description: updated
Revision history for this message
Colin Watson (cjwatson) wrote :

adduser thinks that dots in usernames are a bad idea, probably because much code has historically used the 'chown USER.GROUP' syntax that fails if usernames contain dots. You may not have run into this but I've seen such code in Ubuntu fairly recently.

It might be nice for you to be able to override this in ubiquity, although I do think that a warning is appropriate.

Changed in ubiquity:
importance: Undecided → Wishlist
status: New → Triaged
Revision history for this message
JohnFlux (johnflux) wrote : Re: [Bug 288677] Re: Installer will not allow username with fullstop in it

2008/10/29 Colin Watson <email address hidden>:
> adduser thinks that dots in usernames are a bad idea, probably because
> much code has historically used the 'chown USER.GROUP' syntax that fails
> if usernames contain dots. You may not have run into this but I've seen
> such code in Ubuntu fairly recently.

I have not run into this problem. I chown frequently using both:

  chown john.tapsell filenames
and
  chown john.tapsell:john.tapsell filenames

And have not yet had a problem.

> It might be nice for you to be able to override this in ubiquity,
> although I do think that a warning is appropriate.

Agreed.

Colin Watson (cjwatson)
affects: ubiquity (Ubuntu) → user-setup (Ubuntu)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.