I have kids, and they need to be able to use my machine to access the internet, play games, write their homework, mess around, learn computer use, etcetera. I'd like them to use their own accounts, so they won't mess up my stuff, and I can limit what they can do.

On previous distro's, I would just useradd them to a limited set of groups, copy my ~/ over, chown everything to their account, then log in on their accounts to tidy up. That doesn't work in Obarun, I've noticed. It ~kind of~ works, but is too wonky to use.

What would be the procedure to duplicate a user account under Obarun?
What ever works on Arch works here as well. If you mean you used some gui that would be desktop specific. If you did it from the cmd line and also edited /etc/group and /etc/gshadow run % sudo grpck to make sure everything is OK. No output no problems.

What is specific to obarun is wm/de specific in terms of user services and the need for a "duplicate" boot-user module. In other words, if you are using some de and have ck and dbus running for user1 you need a new boot-user module configured for user2 user3 etc.
Then each user should also have user services enabled as user.

If you look at /run/66/scandir you may see 0 which is for root, 1000 for the 1st user, and each following user will be 1001 1002 ,..
For scandir to be created for the particular user the simplest way is to enable the boot-user@ user2 module and configure it.

Ex: Let's say you are user1 your kid is user2 and you have user1 module enabled at tree boot-user, and at the moment you are logged in as user1 not user2 .... assuming user2 is already created and there is a /home/user2 already owned entirely by user2 (% sudo chown -R user2:user2 /home/user2)
% sudo 66-enable -t boot-user boot-user@ user2
% sudo 66-env -t boot-user -e nano boot-user@ user2
% sudo 66-enable -t boot-user -FS boot-user@ user2
% sudo 66-intree -zg boot-user          # #  you may need to reboot for it to work well if it is not running
% sudo -u user2 66-tree -nE graphics
% sudo -u user2 66-enable -t graphics -FS dbus-session@ user2 xdg-user-dirs 
% sudo -u user2 66-intree -zg
If you are logged in as user2 then eliminate sudo -u user2 , it is unnecessary.

If you just copied everything from user1 to user2 then you copied your /home/user1/.66 directory which will not work as it is specific to user1. No user service for user2 can run till /run/66/scandirt/1001 is created (if user2 = 1001). That is a system created directory, creating it manually doesn't work, as it requires the mechanism to activate and supervise it.

Note: user1 user2 ... are just examples of user names, not specific syntax of any kind. It can be joe jack jill jerry ... the system sees 1000 1001 1002 1003 ... etc. You can see the ids in /etc/passwd

Powered by Obarun