Modify

Ticket #2017 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

Adding a new user.

Reported by: Lee Brooks Owned by: jsalamero@…
Milestone: Component: users
Severity: major Keywords:
Cc:

Description

If you set a username as something with 2 words, e.g "Lee Brooks" it will try to add but then fail.

Error below..

root command cp -dR --preserve=mode /etc/skel /home/Lee Brooks chown -R Lee Brooks:__USERS__ /home/Lee Brooks chmod 0700 /home/Lee Brooks failed. Error output: cp: target `Brooks' is not a directory chown: invalid user: `Lee' chmod: cannot access `/home/Lee': No such file or directory chmod: cannot access `Brooks': No such file or directory Command output: . Exit value: 1

Attachments

Change History

comment:1 Changed 3 years ago by anonymous

Just as a follow up, I know Linux doesn't really like usernames to have more than one word in, but it'd be really useful if you could implement this in eBox, especially when Windows users are concerned.

comment:2 Changed 3 years ago by javier.amor.garcia@…

Well, the problem is tha we don't have only samba services in eBox but other services like proxy, mail, vopip, .. that we don't know whether they will work with usernames with spaces or not. Maybe a clear solution will be to explicitly ban usernames with whitespaces..

comment:3 Changed 3 years ago by jacalvo@…

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in [18269]

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.