Bug 80462 - adduser don't allow '.' in user name
adduser don't allow '.' in user name
Status: CLOSED DUPLICATE of bug 89205
Product: Red Hat Linux
Classification: Retired
Component: shadow-utils (Show other bugs)
9
athlon Linux
high Severity medium
: ---
: ---
Assigned To: Nalin Dahyabhai
David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2002-12-26 15:58 EST by Féliciano Matias
Modified: 2007-03-26 23:59 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-02-21 13:50:36 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
work around for but (110 bytes, text/plain)
2003-05-14 16:12 EDT, Ed Ellefsen
no flags Details

  None (edit)
Description Féliciano Matias 2002-12-26 15:58:13 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 Galeon/1.2.6 (X11; Linux i686; U;) Gecko/20020830

Description of problem:
adduser don't allow char '.' in user name

Version-Release number of selected component (if applicable):
shadow-utils-4.0.3-3

How reproducible:
Always

Steps to Reproduce:
As root :
# adduser f.matias
adduser: invalid user name 'f.matias'
#

Same problem with firstboot. With firstboot add the user 'f.matias' (for
example) and you get :
Traceback (most recent call last):
  File "/usr/share/firstboot/firstbootWindow.py", line 336, in nextClicked
    result = module.apply(self.notebook)
  File "/usr/share/firstboot/modules/create_user.py", line 141, in apply
    self.admin.addUser(userEnt)
RuntimeError: name contains invalid char `.'


Actual Results:  Don't work.

Expected Results:  user with a char '.' added.

Additional info:
Comment 1 Ed Ellefsen 2003-05-14 16:12:21 EDT
Created attachment 91682 [details]
work around for but

Can use newusers utility to add users with perion (".") in user name.
Comment 2 Milan Kerslager 2003-10-23 00:01:32 EDT
The bug #89205 has a working patch for this problem. I did not check firstboot.

*** This bug has been marked as a duplicate of 89205 ***
Comment 3 Red Hat Bugzilla 2006-02-21 13:50:36 EST
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.

Note You need to log in before you can comment on or make changes to this bug.