How To Install libuser on CentOS 8

libuser is A user and group account administration library A user and group account administration library

Introduction

In this tutorial we learn how to install libuser on CentOS 8.

What is libuser

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. libuser 0.62 23.el8 x86_64 417 k libuser-0.62-23.el8.src.rpm baseos A user and group account administration library https LGPLv2+ 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.

We can use yum or dnf to install libuser on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install libuser.

Install libuser on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install libuser using dnf by running the following command:

sudo dnf -y install libuser

Install libuser on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install libuser using yum by running the following command:

sudo yum -y install libuser

How To Uninstall libuser on CentOS 8

To uninstall only the libuser package we can use the following command:

sudo dnf remove libuser

libuser Package Contents on CentOS 8

/etc/libuser.conf
/usr/bin/lchfn
/usr/bin/lchsh
/usr/lib/.build-id
/usr/lib/.build-id/09
/usr/lib/.build-id/09/7c9c5507eb9fab8e43cb0954cea8240b1b49f7
/usr/lib/.build-id/11
/usr/lib/.build-id/11/60a54dc4ca76abde286c08e7de9e06f8b6541a
/usr/lib/.build-id/13
/usr/lib/.build-id/13/d682e562317ff9eb808e5652eee5a33035487b
/usr/lib/.build-id/2a
/usr/lib/.build-id/2a/e0eb2303902218ce88907739a0e838bb3dae08
/usr/lib/.build-id/43
/usr/lib/.build-id/43/fd99d818e374b87a309fec1ce67b47d485bd28
/usr/lib/.build-id/46
/usr/lib/.build-id/46/d7a056bc7b68df943a19b1cd3d1ef50b0c8dd7
/usr/lib/.build-id/4d
/usr/lib/.build-id/4d/2e2cdb4309cfa7efe1d901a757b38a8b7aa0b4
/usr/lib/.build-id/5b
/usr/lib/.build-id/5b/76b360976c23475a352d15e43410ddc937cf95
/usr/lib/.build-id/5b/cee8a890d9c38d56a4e05625526380f7ef9ca8
/usr/lib/.build-id/64
/usr/lib/.build-id/64/0c48deb493a087e113709593eaa05c289c7426
/usr/lib/.build-id/6d
/usr/lib/.build-id/6d/77b8900be26ac3a561aadd5276f859962ae036
/usr/lib/.build-id/7f
/usr/lib/.build-id/7f/e8460418f4a97cc482409a582aa55e8935b0a6
/usr/lib/.build-id/a9
/usr/lib/.build-id/a9/4f1a7e11c374b8652fefac3748b16bcd6e079c
/usr/lib/.build-id/ca
/usr/lib/.build-id/ca/94d42660bd56dae98ed1256ac92bd77c91cc53
/usr/lib/.build-id/d3
/usr/lib/.build-id/d3/95c7ad03b7e8f5273182e60982a93c3e67004c
/usr/lib/.build-id/f7
/usr/lib/.build-id/f7/8d61020470c038eb772061812ad28ecd587903
/usr/lib/libuser
/usr/lib/libuser.so.1
/usr/lib/libuser.so.1.5.2
/usr/lib/libuser/libuser_files.so
/usr/lib/libuser/libuser_ldap.so
/usr/lib/libuser/libuser_shadow.so
/usr/sbin/lchage
/usr/sbin/lgroupadd
/usr/sbin/lgroupdel
/usr/sbin/lgroupmod
/usr/sbin/lid
/usr/sbin/lnewusers
/usr/sbin/lpasswd
/usr/sbin/luseradd
/usr/sbin/luserdel
/usr/sbin/lusermod
/usr/share/doc/libuser
/usr/share/doc/libuser/AUTHORS
/usr/share/doc/libuser/NEWS
/usr/share/doc/libuser/README
/usr/share/doc/libuser/TODO
/usr/share/doc/libuser/attributes.txt
/usr/share/doc/libuser/rfc2307.txt
/usr/share/licenses/libuser
/usr/share/licenses/libuser/COPYING
/usr/share/locale/ar/LC_MESSAGES/libuser.mo
/usr/share/locale/as/LC_MESSAGES/libuser.mo
/usr/share/locale/bg/LC_MESSAGES/libuser.mo
/usr/share/locale/bn/LC_MESSAGES/libuser.mo
/usr/share/locale/bn_IN/LC_MESSAGES/libuser.mo
/usr/share/locale/bs/LC_MESSAGES/libuser.mo
/usr/share/locale/ca/LC_MESSAGES/libuser.mo
/usr/share/locale/cs/LC_MESSAGES/libuser.mo
/usr/share/locale/cy/LC_MESSAGES/libuser.mo
/usr/share/locale/da/LC_MESSAGES/libuser.mo
/usr/share/locale/de/LC_MESSAGES/libuser.mo
/usr/share/locale/de_CH/LC_MESSAGES/libuser.mo
/usr/share/locale/el/LC_MESSAGES/libuser.mo
/usr/share/locale/en_GB/LC_MESSAGES/libuser.mo
/usr/share/locale/es/LC_MESSAGES/libuser.mo
/usr/share/locale/et/LC_MESSAGES/libuser.mo
/usr/share/locale/eu/LC_MESSAGES/libuser.mo
/usr/share/locale/fi/LC_MESSAGES/libuser.mo
/usr/share/locale/fr/LC_MESSAGES/libuser.mo
/usr/share/locale/gu/LC_MESSAGES/libuser.mo
/usr/share/locale/he/LC_MESSAGES/libuser.mo
/usr/share/locale/hi/LC_MESSAGES/libuser.mo
/usr/share/locale/hr/LC_MESSAGES/libuser.mo
/usr/share/locale/hu/LC_MESSAGES/libuser.mo
/usr/share/locale/id/LC_MESSAGES/libuser.mo
/usr/share/locale/is/LC_MESSAGES/libuser.mo
/usr/share/locale/it/LC_MESSAGES/libuser.mo
/usr/share/locale/ja/LC_MESSAGES/libuser.mo
/usr/share/locale/kn/LC_MESSAGES/libuser.mo
/usr/share/locale/ko/LC_MESSAGES/libuser.mo
/usr/share/locale/lv/LC_MESSAGES/libuser.mo
/usr/share/locale/mai/LC_MESSAGES/libuser.mo
/usr/share/locale/mk/LC_MESSAGES/libuser.mo
/usr/share/locale/ml/LC_MESSAGES/libuser.mo
/usr/share/locale/mr/LC_MESSAGES/libuser.mo
/usr/share/locale/ms/LC_MESSAGES/libuser.mo
/usr/share/locale/nb/LC_MESSAGES/libuser.mo
/usr/share/locale/nds/LC_MESSAGES/libuser.mo
/usr/share/locale/nl/LC_MESSAGES/libuser.mo
/usr/share/locale/or/LC_MESSAGES/libuser.mo
/usr/share/locale/pa/LC_MESSAGES/libuser.mo
/usr/share/locale/pl/LC_MESSAGES/libuser.mo
/usr/share/locale/pt/LC_MESSAGES/libuser.mo
/usr/share/locale/pt_BR/LC_MESSAGES/libuser.mo
/usr/share/locale/ro/LC_MESSAGES/libuser.mo
/usr/share/locale/ru/LC_MESSAGES/libuser.mo
/usr/share/locale/sk/LC_MESSAGES/libuser.mo
/usr/share/locale/sl/LC_MESSAGES/libuser.mo
/usr/share/locale/sr/LC_MESSAGES/libuser.mo
/usr/share/locale/sr@latin/LC_MESSAGES/libuser.mo
/usr/share/locale/sv/LC_MESSAGES/libuser.mo
/usr/share/locale/ta/LC_MESSAGES/libuser.mo
/usr/share/locale/te/LC_MESSAGES/libuser.mo
/usr/share/locale/tr/LC_MESSAGES/libuser.mo
/usr/share/locale/uk/LC_MESSAGES/libuser.mo
/usr/share/locale/vi/LC_MESSAGES/libuser.mo
/usr/share/locale/zh_CN/LC_MESSAGES/libuser.mo
/usr/share/locale/zh_TW/LC_MESSAGES/libuser.mo
/usr/share/man/man1/lchage.1.gz
/usr/share/man/man1/lchfn.1.gz
/usr/share/man/man1/lchsh.1.gz
/usr/share/man/man1/lgroupadd.1.gz
/usr/share/man/man1/lgroupdel.1.gz
/usr/share/man/man1/lgroupmod.1.gz
/usr/share/man/man1/lid.1.gz
/usr/share/man/man1/lnewusers.1.gz
/usr/share/man/man1/lpasswd.1.gz
/usr/share/man/man1/luseradd.1.gz
/usr/share/man/man1/luserdel.1.gz
/usr/share/man/man1/lusermod.1.gz
/usr/share/man/man5/libuser.conf.5.gz
/etc/libuser.conf
/usr/bin/lchfn
/usr/bin/lchsh
/usr/lib/.build-id
/usr/lib/.build-id/2c
/usr/lib/.build-id/2c/b8ba9b08a1922d4eec20ae49693b8364accb65
/usr/lib/.build-id/3c
/usr/lib/.build-id/3c/85d68318f7464dd9eca7d6105ddcb186a107ea
/usr/lib/.build-id/80
/usr/lib/.build-id/80/4c923ae61e8b58d6149e10829a3073fbca494e
/usr/lib/.build-id/8d
/usr/lib/.build-id/8d/fb741fca88cefb8729e71f2c15dc5012cf4304
/usr/lib/.build-id/8f
/usr/lib/.build-id/8f/0de63d065be5aac7c552cce9412c25e0fa1e3a
/usr/lib/.build-id/bc
/usr/lib/.build-id/bc/5eec243cab3c76fb3cae2d8c1ceb917918834b
/usr/lib/.build-id/c4
/usr/lib/.build-id/c4/16488a5d4b964eb11ddf3d3f249ff4cc9c37e4
/usr/lib/.build-id/d4
/usr/lib/.build-id/d4/ecc382f2758133057a2c5e28f2adf769db23b4
/usr/lib/.build-id/e2
/usr/lib/.build-id/e2/6e15d5c4ee96e72cbf65dbce78f6ce5fdfc4ca
/usr/lib/.build-id/e5
/usr/lib/.build-id/e5/2d65c76b80a3161b7a926627d73a6d5c3069e1
/usr/lib/.build-id/e6
/usr/lib/.build-id/e6/26158964298e1b0074065cc1b0bf167df41cea
/usr/lib/.build-id/e9
/usr/lib/.build-id/e9/51980c6b243940b38e5aa05e186ef9c7ff3c69
/usr/lib/.build-id/e9/d8b1892b36b575e8e5497ae1d5a8427aeae493
/usr/lib/.build-id/f0
/usr/lib/.build-id/f0/6786ea9e7ffe0e41a88df8c238f9c87a30af95
/usr/lib/.build-id/f4
/usr/lib/.build-id/f4/0fb17f0e3939a1dde919468f3fa3f6e3b8fc46
/usr/lib/.build-id/fa
/usr/lib/.build-id/fa/0a1aa98ebafd277e47c3bb5c43bad9c1d36e33
/usr/lib64/libuser
/usr/lib64/libuser.so.1
/usr/lib64/libuser.so.1.5.2
/usr/lib64/libuser/libuser_files.so
/usr/lib64/libuser/libuser_ldap.so
/usr/lib64/libuser/libuser_shadow.so
/usr/sbin/lchage
/usr/sbin/lgroupadd
/usr/sbin/lgroupdel
/usr/sbin/lgroupmod
/usr/sbin/lid
/usr/sbin/lnewusers
/usr/sbin/lpasswd
/usr/sbin/luseradd
/usr/sbin/luserdel
/usr/sbin/lusermod
/usr/share/doc/libuser
/usr/share/doc/libuser/AUTHORS
/usr/share/doc/libuser/NEWS
/usr/share/doc/libuser/README
/usr/share/doc/libuser/TODO
/usr/share/doc/libuser/attributes.txt
/usr/share/doc/libuser/rfc2307.txt
/usr/share/licenses/libuser
/usr/share/licenses/libuser/COPYING
/usr/share/locale/ar/LC_MESSAGES/libuser.mo
/usr/share/locale/as/LC_MESSAGES/libuser.mo
/usr/share/locale/bg/LC_MESSAGES/libuser.mo
/usr/share/locale/bn/LC_MESSAGES/libuser.mo
/usr/share/locale/bn_IN/LC_MESSAGES/libuser.mo
/usr/share/locale/bs/LC_MESSAGES/libuser.mo
/usr/share/locale/ca/LC_MESSAGES/libuser.mo
/usr/share/locale/cs/LC_MESSAGES/libuser.mo
/usr/share/locale/cy/LC_MESSAGES/libuser.mo
/usr/share/locale/da/LC_MESSAGES/libuser.mo
/usr/share/locale/de/LC_MESSAGES/libuser.mo
/usr/share/locale/de_CH/LC_MESSAGES/libuser.mo
/usr/share/locale/el/LC_MESSAGES/libuser.mo
/usr/share/locale/en_GB/LC_MESSAGES/libuser.mo
/usr/share/locale/es/LC_MESSAGES/libuser.mo
/usr/share/locale/et/LC_MESSAGES/libuser.mo
/usr/share/locale/eu/LC_MESSAGES/libuser.mo
/usr/share/locale/fi/LC_MESSAGES/libuser.mo
/usr/share/locale/fr/LC_MESSAGES/libuser.mo
/usr/share/locale/gu/LC_MESSAGES/libuser.mo
/usr/share/locale/he/LC_MESSAGES/libuser.mo
/usr/share/locale/hi/LC_MESSAGES/libuser.mo
/usr/share/locale/hr/LC_MESSAGES/libuser.mo
/usr/share/locale/hu/LC_MESSAGES/libuser.mo
/usr/share/locale/id/LC_MESSAGES/libuser.mo
/usr/share/locale/is/LC_MESSAGES/libuser.mo
/usr/share/locale/it/LC_MESSAGES/libuser.mo
/usr/share/locale/ja/LC_MESSAGES/libuser.mo
/usr/share/locale/kn/LC_MESSAGES/libuser.mo
/usr/share/locale/ko/LC_MESSAGES/libuser.mo
/usr/share/locale/lv/LC_MESSAGES/libuser.mo
/usr/share/locale/mai/LC_MESSAGES/libuser.mo
/usr/share/locale/mk/LC_MESSAGES/libuser.mo
/usr/share/locale/ml/LC_MESSAGES/libuser.mo
/usr/share/locale/mr/LC_MESSAGES/libuser.mo
/usr/share/locale/ms/LC_MESSAGES/libuser.mo
/usr/share/locale/nb/LC_MESSAGES/libuser.mo
/usr/share/locale/nds/LC_MESSAGES/libuser.mo
/usr/share/locale/nl/LC_MESSAGES/libuser.mo
/usr/share/locale/or/LC_MESSAGES/libuser.mo
/usr/share/locale/pa/LC_MESSAGES/libuser.mo
/usr/share/locale/pl/LC_MESSAGES/libuser.mo
/usr/share/locale/pt/LC_MESSAGES/libuser.mo
/usr/share/locale/pt_BR/LC_MESSAGES/libuser.mo
/usr/share/locale/ro/LC_MESSAGES/libuser.mo
/usr/share/locale/ru/LC_MESSAGES/libuser.mo
/usr/share/locale/sk/LC_MESSAGES/libuser.mo
/usr/share/locale/sl/LC_MESSAGES/libuser.mo
/usr/share/locale/sr/LC_MESSAGES/libuser.mo
/usr/share/locale/sr@latin/LC_MESSAGES/libuser.mo
/usr/share/locale/sv/LC_MESSAGES/libuser.mo
/usr/share/locale/ta/LC_MESSAGES/libuser.mo
/usr/share/locale/te/LC_MESSAGES/libuser.mo
/usr/share/locale/tr/LC_MESSAGES/libuser.mo
/usr/share/locale/uk/LC_MESSAGES/libuser.mo
/usr/share/locale/vi/LC_MESSAGES/libuser.mo
/usr/share/locale/zh_CN/LC_MESSAGES/libuser.mo
/usr/share/locale/zh_TW/LC_MESSAGES/libuser.mo
/usr/share/man/man1/lchage.1.gz
/usr/share/man/man1/lchfn.1.gz
/usr/share/man/man1/lchsh.1.gz
/usr/share/man/man1/lgroupadd.1.gz
/usr/share/man/man1/lgroupdel.1.gz
/usr/share/man/man1/lgroupmod.1.gz
/usr/share/man/man1/lid.1.gz
/usr/share/man/man1/lnewusers.1.gz
/usr/share/man/man1/lpasswd.1.gz
/usr/share/man/man1/luseradd.1.gz
/usr/share/man/man1/luserdel.1.gz
/usr/share/man/man1/lusermod.1.gz
/usr/share/man/man5/libuser.conf.5.gz

References

Summary

In this tutorial we learn how to install libuser on CentOS 8 using yum and dnf.