SSSD Manual pages


Table of Contents

sss_userdel — delete a user account

Name

sss_userdel — delete a user account

Synopsis

sss_userdel [ options ] LOGIN

DESCRIPTION

sss_userdel deletes a user identified by login name LOGIN from the system.

OPTIONS

-h,--help

Display help message and exit.

-r,--remove

Files in the user's home directory will be removed along with the home directory itself and the user's mail spool. Overrides the configuration.

-R,--no-remove

Files in the user's home directory will NOT be removed along with the home directory itself and the user's mail spool. Overrides the configuration.

-f,--force

This option forces sss_userdel to remove the user's home directory and mail spool, even if they are not owned by the specified user.

-k,--kick

Before actually deleting the user, terminate all his processes.

THE LOCAL DOMAIN

In order to function correctly, a domain with id_provider=local must be created and the SSSD must be running.

The administrator might want to use the SSSD local users instead of traditional UNIX users in cases where the group nesting (see sss_groupadd(8)) is needed. The local users are also useful for testing and development of the SSSD without having to deploy a full remote server. The sss_user* and sss_group* tools use a local LDB storage to store users and groups.

SEE ALSO

sss_groupadd(8), sss_groupdel(8), sss_groupmod(8), sss_groupshow(8), sss_useradd(8), sss_usermod(8).