[OpenIndiana-discuss] Is there a handy way to add users?

Alexander Pyhalov alp at rsu.ru
Tue Nov 1 07:19:29 UTC 2016


On 11/ 1/16 01:58 AM, Harry Putnam wrote:
> "the outsider" <openindiana at out-side.nl> writes:
>
>> Does useradd fail at creating the user?  Or is the user directory not
>> created?
>>
>> Otherwise:
>> mkdir -p /home/{username}
>> useradd -G {staff} {username}
>>
>> passwd { username}
>>
>> chown -R {username} : { staff} /home/{username}
>>
>
> Seems to be a little more complicated.
>
> mkdir -p /home/alonzo
> mkdir: cannot create directory ?/home/alonzo?: Operation not
> applicable
>
> I read the bug a while back but I seem to recall it revolved around
> the fact that `/home' is really only some kind of shortcut and that
> one has to use /export/home to get around it.
>
> I created a user named `harry' during installation:

Look at /etc/auto_home configuration file.

-- 
Best regards,
Alexander Pyhalov,
system administrator of Southern Federal University IT department



More information about the openindiana-discuss mailing list