The officially official Devuan Forum!

You are not logged in.

#1 2019-09-17 18:32:46

gcla
Member
Registered: 2019-09-17
Posts: 3  

systemd users

My first post. Brilliant distro by the way!

Is there any advice on cleaning up after a migration from Debian? I noticed a few users in the /etc/passwd file with _that_ name. Should I remove them and what other things might I need to do?

systemd-timesync:x:117:126:systemd Time Synchronization,,,:/run/systemd:/bin/false
systemd-network:x:118:127:systemd Network Management,,,:/run/systemd/netif:/bin/false
systemd-resolve:x:119:128:systemd Resolver,,,:/run/systemd/resolve:/bin/false
systemd-bus-proxy:x:120:129:systemd Bus Proxy,,,:/run/systemd:/bin/false

gcla

Offline

#2 2019-09-17 19:18:44

golinux
Administrator
Registered: 2016-11-25
Posts: 3,318  

Re: systemd users

You didn't say what you migrated from/to.  Did you follow these basic instructions?  Each release might require some slightly different procedures.

https://devuan.org/os/documentation/dev … -to-jessie

https://devuan.org/os/documentation/dev … e-to-ascii

Please also read this thread:

https://dev1galaxy.org/viewtopic.php?id=1925

Offline

#3 2019-09-17 19:50:56

gcla
Member
Registered: 2019-09-17
Posts: 3  

Re: systemd users

Thanks for the reply. I migrated from Debian 8 to Devuan 1.0 and I followed the guide on the Devuan site. I've since upgrade Devuan 1.0 to ascii. My query was regarding systemd users and groups following a migration from Debian. I have done a clean install on another machine and it doesn't have  these users. If they are not a problem I will leave them there.

Offline

#4 2019-09-17 19:57:28

bgstack15
Member
Registered: 2018-02-04
Posts: 205  

Re: systemd users

As a matter of traditional system security, any users that you are not using should be removed. The fact that these accounts all have /bin/false for the shell leads one to infer that those would never log in, so it probably comes down to file ownership.

You could find any files (particularly in /dev) owned by any of those users.

find / \( -user 117 -o -user 118 -o -user 119 -o -user 120 \) -print

I don't expect any devices to actually be owned by those users, because /dev is populated at boot and sysvinit probably doesn't go around using systemd* users. But that's why you check. For me, it was a little interesting that debian derivatives use lots of local groups to control devices, which makes using domain users on laptops difficult.

Edit:
Or running daemons. But if you're running systemd daemons of some sort underneath sysvinit, uh, we will find ways to help you!

Last edited by bgstack15 (2019-09-17 19:58:15)


This space intentionally left blank.

Offline

#5 2019-09-17 21:29:39

golinux
Administrator
Registered: 2016-11-25
Posts: 3,318  

Re: systemd users

I thought there was a command in dev1fanboy's instructions to remove systemd cruft.

Offline

#6 2019-09-21 08:15:44

gcla
Member
Registered: 2019-09-17
Posts: 3  

Re: systemd users

Thank you all. Ran the find command and nothing showed up so deleted the four users. All cleaned up and no issues.

I followed the guide here
https://devuan.org/os/documentation/dev … e-to-ascii
which doesn't appear to deal specifically with systemd created users.

Cheers,

gcla

Offline

#7 2019-09-21 08:53:55

golinux
Administrator
Registered: 2016-11-25
Posts: 3,318  

Re: systemd users

Happy to hear that worked for you!

Offline

Board footer