[CentOS] Delete local user/group but not LDAP one

Thu Nov 25 23:13:17 UTC 2021
Matthew Miller <mattdm at mattdm.org>

On Thu, Nov 25, 2021 at 06:36:36PM +0100, Thomas Mueller wrote:
> >I have a computer with a local user X that shadows an LDAP user of the
> >same name (and group).
> >
> >I know I can use:
> >userdel X
> >groupdel X
> 
> check luserdel and lgroupdel . The prefix l is for local. :-)

Oh, except... it's not. The l is for "libuser" — those tools are samples for
the libuser package, https://pagure.io/libuser. And libuser absolutely can
affect LDAP, depending on the system configuration.

-- 
Matthew Miller
<mattdm at fedoraproject.org>
Fedora Project Leader