[PC-BSD Dev] Add Users

Fabrizio Parrella fabrizio at bibivu.com
Fri Jun 21 13:20:53 PDT 2013

I only use the GUI to add the users.

Yes, I leave the data in the "/" dataset and then moving it once is all set.

The dataset is mounted correctly at each reboot,  maybe it is not 
mounted when the user is created via the GUI ?

Another problem I found: deleting the user does not delete the user folder.

In my case I had to re-create the user with the same username, so I 
opened xterm, umounted, deleted the /home/<user> recreated (and it 
created it without mounting it) logged in and followed the steps that I 
previously said

between before I add the user and after I add the user the mount doesn't 
change much except the trunk1/usr/home/<user> is mapped to /usr/home/<user>


On 06/21/2013 16:02, Kris Moore wrote:
> On 06/21/2013 15:50, Fabrizio Parrella wrote:
>> it is ZFS, it doesn't let me MV unless I umount first
>> Fabry
> Gotcha. So it seems all you are doing is unmounting the ZFS dataset, and
> leaving your data on the '/' dataset? Can I see a before & after of the
> mount command when you set this up? Are you adding the users from the
> GUI? What happens if you add via the CLI with the "adduser" command?
> Maybe the new dataset isn't getting auto-mounted after a reboot, since
> you said you lose settings at each reboot.
> I'm going to test a new user here also, see what happens :)
>> On 06/21/2013 14:39, Kris Moore wrote:
>>> On 06/21/2013 12:22, Fabrizio Parrella wrote:
>>>> I have been having a very hard time trying to add users to PC-BSD 9.1
>>>> (fully updated - 32 and 64bits).
>>>> When I need to add a user those are the steps that I have to take to
>>>> make it fully work:
>>>>    - Add user via interface, set it as administrator
>>>>    - open xterm and as root, if the /home/<user> is mounted, umount it
>>>>    - log out and log in as the new user
>>>>    - do the needed setup, folders, Thunderbird, chrome, etc...
>>>>    - log out and log back in as the initial user
>>>>    - open xterm and as root make sure that /home/<user> is not mounted
>>>> and then:  mv /home/<user> /home/<user>.ok
>>>>    - reboot
>>>>    - login as initial user
>>>>    - open xterm as root and copy all the files from /home/<user>.ok to
>>>> /home/<user> followed by chown -Rf <user>:<user> <user>
>>>>    - a final reboot and now it works
>>>> if I don't follow those steps I always encounter issues like (random):
>>>>    - smb protocol not working
>>>>    - Thunderbird gives a weird startup error about permission on opening
>>>> some protocol (TCP/IP)
>>>>    - desktop settings are lost at every reboot
>>>>    - random "cannot connect to <anything>" errors, can be "desktop", a
>>>> web server, the proxy servers, etc...
>>>> Anyone know what might cause this problem ?  It is kind of a new error
>>>> that started a month ago or so and affects all the up-to-date
>>>> computers.  This does not happen on 9.0 32bit
>>> Is this on UFS or ZFS? Can you give "mount" output of system after you
>>> create a new user? I'm guessing its *not* ZFS, otherwise you would
>>> probably get an error when you do the "mv <homedir>" step, since that
>>> should be a new dataset.
>> _______________________________________________
>> Dev mailing list
>> Dev at lists.pcbsd.org
>> http://lists.pcbsd.org/mailman/listinfo/dev

More information about the Dev mailing list