Managing user accounts on Ubuntu Linux may involve listing the users on a system, creating a new user, or disabling a user account. Other times, you may need to delete a user account entirely, which is what we’ll be covering in this guide.
It’s possible to delete a user account from an Ubuntu system via either command line or GUI. The command line method will work on any system, but the GUI method will vary slightly, depending on the desktop environment you’re using. In this guide, we’ll be showing the process for command line, GNOME, and KDE. This should cover most installations, since GNOME is the default GUI for Ubuntu and KDE the default for Kubuntu. Let’s get started.
In this tutorial you will learn:
- How to remove a user via command line on Ubuntu
- How to remove a user on GNOME GUI (default Ubuntu desktop)
- How to remove a user on KDE GUI (default Kubuntu desktop)