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.
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:
adduser --system --home $HOME --shell $SHELL --uid $UID messagebus
HOME,SHELL,UID look in the copy you made of /etc/passwd
.