Could you differentiate between groupdel vs lgroupdel?

Latest response

Could you please explain the differentiation between these commands
groupdel vs lgroupdel ?

Linux Team RESG/GTS/IAS/SYS/UNX's picture


Functionally they should be equivalent.

lgroupdel is a sample implementation of local password/user management using libuser, which is a pluggable architecture that allows replacement backends to be configured.

From the package description:

The libuser library implements a standardized interface for manipulating
and administering user and group accounts.  The library uses pluggable
back-ends to interface to its data sources.

Sample applications modeled after those included with the shadow password
suite are included.

Think of it as the following architectural difference (with no real functional difference):

[lgroupdel] -> [libuser interface] -> [shadow plugin/backend] -> [local files]
[groupdel] -> [local files]

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.