<html><head></head><body><div>Hello,</div><div><br></div><div>On the way to rely on <i>systemd-sysusers</i> to create <b>all</b> users in a fresh Arch Linux installation, I'm stuck with two issues[1][2].</div><div>The key idea was to rely on <i>systemd-users</i> to create them all and start with empty passwd/group/shadow/gshadow files[3].</div><div>So, we moved all base user definitions in a <i>sysusers.d/arch.conf</i> file; or better into the package which require them.</div><div><br></div><div>The first issue[1] is to be able to define the root user shell. Currently, <i>sysusers.d/</i><i>basic.conf</i> provides a nologin shell, which prevent root to login and execute commands (even via sudo). We cannot override the <i>sysusers.d/</i><i>basic.conf</i> with a crafted version because <i>systemd-sysusers</i> doesn't support a shell definition in its format. </div><div>As a consequence, I added back root to passwd/group/shadow/gshadow[4].</div><div>So, what's the strategy about this? Should root user be an exception and be defined somewhere else than others users because it requires a valid shell?</div><div><br></div><div>The second issue[2] is about the lp group defined in <i>sysusers.d/</i><i>basic.conf</i>. Because the <i>cups</i> Arch package set rights on files based on the lp group it needs a static gid (pacman requirement). lp defined in <i>sysusers.d/</i><i>basic.conf</i> is without gid[5], so what's the best way to override it?</div><div><br></div><div>Cheers,</div><div><br></div><div>Sébastien "Seblu" Luttringer</div><div><br></div><div><div>[1] <a href="https://bugs.archlinux.org/task/56017">https://bugs.archlinux.org/task/56017</a></div><div>[2] <a href="https://bugs.archlinux.org/task/56818">https://bugs.archlinux.org/task/56818</a></div></div><div>[3] <a href="https://bugs.archlinux.org/task/45196">https://bugs.archlinux.org/task/45196</a></div><div>[4] I love it when a plan comes together ©</div><div>[5] <a href="https://bugs.archlinux.org/task/55793">https://bugs.archlinux.org/task/55793</a></div><div><br></div></body></html>