After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 681773 - Offer a way to undo removing a user account
Offer a way to undo removing a user account
Product: gnome-control-center
Classification: Core
Component: User Accounts
Other Linux
: Normal normal
: ---
Assigned To: Control-Center Maintainers
Control-Center Maintainers
Depends on:
Blocks: 681753
Reported: 2012-08-13 15:11 UTC by Stef Walter
Modified: 2021-06-09 16:27 UTC
See Also:
GNOME target: ---
GNOME version: ---

screenshot (52.34 KB, image/png)
2017-02-15 12:24 UTC, Felipe Borges

Description Stef Walter 2012-08-13 15:11:30 UTC
It would be good to offer a way to undo removal of a user account. This would include restoring account data and metadata. Discussed this a bit in #gnome-design. 

As an aside, currently when you delete an account without deleting the files, and then create another user account with the same user name, that new user gets all the user's files. This works as expected if you understand how unix users work, but not necessarily expected otherwise. In addition it may cause problems if the new user has a different uid.
Comment 1 Stef Walter 2012-08-13 15:11:39 UTC
Mccann, if you have more to add here, please do.
Comment 2 Allan Day 2013-04-20 13:08:27 UTC
Definitely a good thing to do.

The standard pattern for offering undo is to use an in-app notification.

"User Jan Hendricks deleted      [ Undo ] [ x ]"

I've filed the second issue as bug 698449.
Comment 3 Felipe Borges 2017-02-15 12:24:22 UTC
Created attachment 345819 [details]

Nowadays we pop up a dialog asking whether the user wants to remove the account AND: delete the files or keep the files.

We should discuss here instead how to move from this to the app-notification pattern mentioned above by Allan.
Comment 4 André Klapper 2021-06-09 16:27:22 UTC
GNOME is going to shut down in favor of
As part of that, we are mass-closing older open tickets in
which have not seen updates for a longer time (resources are unfortunately
quite limited so not every ticket can get handled).

If you can still reproduce the situation described in this ticket in a recent
and supported software version, then please follow
and create a new bug report at

Thank you for your understanding and your help.