TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: THE NATURAL PHILOSOPHER
from: FOKKE NAUTA
date: 2019-07-24 13:55:00
subject: Re: Can`t access share wi

On 24/07/2019 12:27, The Natural Philosopher wrote:
> On 23/07/2019 20:09, Fokke Nauta wrote:
>
>>>
>>> Have you managed to create a linux user with a space in its name?
>>
>> No. I tried to create my Windows user name on the pi, with sudo
>> smbpasswd -a 'Fokke Nauta', but after twice typing in the password it
>> said: Failed to add entry for user Fokke Nauta.
>
> That will not create a user called 'Fokke Nauta'
>
> You need to do 'useradd' first.
>

Thanks.
However, I read in the man page the following:

On Debian, the only constraints are that usernames must neither start
with a dash ('-') nor plus ('+') nor tilde ('~') nor contain a colon
(':'), a comma (','), or a whitespace (space: ' ', end of line: '\n',
tabulation: '\t', etc.). Note that using a slash ('/') may break the
default algorithm for the definition of the user's home directory.

So, as I guessed, useradd -M 'Fokke Nauta' resulted in an invalid user name.

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.