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

Responses

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]

Was this helpful?

We appreciate your feedback. Leave a comment if you would like to provide more detail.
It looks like we have some work to do. Leave a comment to let us know how we could improve.
Close

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