User maintenance for users created by software packages
by BigTruss from LinuxQuestions.org on (#5N0MC)
Hi all, I have a quick question on what is considered best practice for managing users on Linux systems that are created to manage packages/programs, and whether or not they should be manually removed if the program is uninstalled.
Specifically, I had the dhcpcd package installed on my Arch system. I've since removed the package, (via 'sudo pacman -Rns dhcpcd'), but noticed that the 'dhcpcd' user still exists in my /etc/passwd and /etc/shadow files. Should I manually remove the user? Or is this user supposed to stay on the system regardless if the package is installed?
Specifically, I had the dhcpcd package installed on my Arch system. I've since removed the package, (via 'sudo pacman -Rns dhcpcd'), but noticed that the 'dhcpcd' user still exists in my /etc/passwd and /etc/shadow files. Should I manually remove the user? Or is this user supposed to stay on the system regardless if the package is installed?