DOKK / manpages / debian 12 / libuser / luserdel.1.en
luserdel(1) General Commands Manual luserdel(1)

luserdel - Delete an user

luserdel [OPTION]... user

Deletes the user with name user.

By default the user's primary group is removed if it has group name user (user's private group). This option disables this behavior.

Ask all questions when connecting to the user database, even if default answers are set up in libuser configuration.

Remove user's home directory and mail spool after deleting the user.

The exit status is 0 on success, nonzero on error.

May 2009 libuser