to troubleshoot a Ubuntu package manager problem I have to do
sudo deluser --system messagebus
I want to know what is the command to undo the above before I try it.
Before any action, copy "/etc/passwd" to a safe place.
Then, to recreate the user:
HOME,SHELL,UID look in the copy you made of