[arch-general] systemd user accounts are created in a inconsistent way
Most systemd user accounts are present in the /etc/passwd file provided by the filesystem package. This is not the case for only two of them, namely systemd-journal-upload and systemd-journal-remote, which are set up by systemd-sysusers, executed when the systemd package is installed. Is there a reason for that? Wouldn't it be better to include all systemd users in /etc/passwd, or let systemd-sysusers handle account creation? -- Daniel Milewski GPG key ID: 8D43A4A1
On 2 February 2016 at 21:28, Daniel Milewski <niitotantei@riseup.net> wrote:
Most systemd user accounts are present in the /etc/passwd file provided by the filesystem package. This is not the case for only two of them, namely systemd-journal-upload and systemd-journal-remote, which are set up by systemd-sysusers, executed when the systemd package is installed.
Is there a reason for that? Wouldn't it be better to include all systemd users in /etc/passwd, or let systemd-sysusers handle account creation?
it's better to let `systemd-sysusers` create all users, /etc/passwd should probably not be included in any package since it changes in the lifetime of the distro and updates are hard to merge. -- damjan
Op 2 feb. 2016 22:24 schreef "Damjan Georgievski" <gdamjan@gmail.com>:
it's better to let `systemd-sysusers` create all users, /etc/passwd should probably not be included in any package since it changes in the lifetime of the distro and updates are hard to merge.
Agreed. And while we're at it, stop packaging /etc/shadow and /etc/gshadow, those files are not meant to be touched by anything but the designated tools, least of all be manually merged. If TEMPEST means anything to you, manually merging shadow files using an editor is as bad as plastering your passwords all over your front door. - Alain
participants (3)
-
Alain Kalker
-
Damjan Georgievski
-
Daniel Milewski