Modify ↓
Ticket #2017 (closed defect: fixed)
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: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..
Note: See
TracTickets for help on using
tickets.
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.