how to undo a system user deletion

Alan Pope popey at ubuntu.com
Wed Feb 9 10:07:53 UTC 2011


On 9 February 2011 09:08, Tapas Mishra <mightydreams at gmail.com> wrote:
> Based on my discussion going on here (last message in thread)
> https://answers.launchpad.net/ubuntu/+question/144560
>

Probably best to keep the questions in that thread rather than
fragmenting them I'd imagine.

However I note that someone asked you to try the workaround in the bug
you found.

https://bugs.launchpad.net/ubuntu/+source/dbus/+bug/705644

Have you done that?

> I want to know what is the undo command for following
>
> sudo deluser --system messagebus

The adduser command might help here, but you might need to specify the
uid as 104, gid 105 and the home directory as /var/run/dbus and the
shell as /bin/false.

I found this from looking at an existing system.

alan at bishop:~$ grep messagebus /etc/passwd
messagebus:x:104:105::/var/run/dbus:/bin/false

> sudo dpkg --configure dbus
>

There isn't really an 'undo' for this.

Al.




More information about the ubuntu-users mailing list