Re: [systemd-devel] Using sysusers to setup a new system

2017-12-26 Thread Lennart Poettering
On Sa, 23.12.17 00:33, Sébastien Luttringer (se...@seblu.net) wrote: > The first issue[1] is to be able to define the root user shell. > Currently, sysusers.d/basic.conf provides a nologin shell, which prevent root > to login and execute commands (even via sudo). We cannot override the >

Re: [systemd-devel] Using sysusers to setup a new system

2017-12-26 Thread Lennart Poettering
On Di, 26.12.17 11:45, Jérémy Rosen (jeremy.ro...@smile.fr) wrote: > > The second issue[2] is about the lp group defined in > > /sysusers.d///basic.conf/. Because the /cups/ Arch package set rights on > > files based on the lp group it needs a static gid (pacman requirement). > > lp defined in

Re: [systemd-devel] Using sysusers to setup a new system

2017-12-26 Thread Jérémy Rosen
Hello Sébastian On 23/12/2017 00:33, Sébastien Luttringer wrote: Hello, On the way to rely on /systemd-sysusers/ to create *all* users in a fresh Arch Linux installation, I'm stuck with two issues[1][2]. The key idea was to rely on /systemd-users/ to create them all and start with empty

[systemd-devel] Using sysusers to setup a new system

2017-12-22 Thread Sébastien Luttringer
Hello, On the way to rely on systemd-sysusers to create all users in a fresh Arch Linux installation, I'm stuck with two issues[1][2]. The key idea was to rely on systemd-users to create them all and start with empty passwd/group/shadow/gshadow files[3]. So, we moved all base user definitions in