> So what do I have to do in Guix to add a new user and create a samba
> login for that user?

My guess would be to add the user like other regular users in Guix

```
    (operating-system
     ....
     (users (cons* (user-account
                    (name "myuser")
                    (comment "My Regular User")
                    (group "users")
                    (password (crypt "first-time-pass" "$6$abc"))
                    (home-directory "/home/myuser")
                    (supplementary-groups '("wheel" "netdev" "audio" "video")))
                   (user-account
                    (name "gast")
                    (comment "The Samba Public User")
                    (group "users")
                    (password (crypt "firsttimepass" "$6$abc"))
                    (home-directory "/home/mariuszidonis")
                    (supplementary-groups '()))
                   %base-user-accounts))
     ...
     )
```

To use smbpasswd to create a samba login, you should just have
smbpasswd program available in your profile.

-- 
Hope it helps,
Ignas Lapėnas

Reply via email to