Score:0

Accidentally deleted the system `uuidd` user and group -- which package to reinstall?

in flag

I accidentally deleted the system user uuidd and their group from my system.

I want to reinstall the package they belong to, but when I look for the manual of uuidd on the net, it references the util-linux package. A reinstall of this package with sudo apt --reinstall install util-linux does not bring this user back.

How can I find out which package to reinstall and repair the system?

Score:2
hr flag

At least on my (22.04) system, the user and group appear to get created by the postinst script of the uuid-runtime package

$ head -n 12 /var/lib/dpkg/info/uuid-runtime.postinst
#!/bin/sh
set -e

# add uuidd user/group if needed.
if ! getent group uuidd >/dev/null; then
        addgroup --system uuidd
fi
if ! getent passwd uuidd >/dev/null; then
        adduser --system --ingroup uuidd \
                --home /run/uuidd --no-create-home \
                uuidd
fi
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.