How To List Users in CentOS 7

February 13, 2020 Liquid Web

In this video, we describe how to obtain a list of users in CentOS 7.

Commands used:
cut -d: -f1 /etc/passwd
getent passwd
getent passwd root
useradd test7
getent passwd test7
passwd test7
userdel test7

The related article for this article can be found here: https://www.liquidweb.com/kb/list-users-centos-7/

For more information about this and other topics, visit us at https://www.liquidweb.com/kb/

To learn more about our dedicated offerings, visit: 
https://www.liquidweb.com/products/dedicated/

Video by: Alex Gorzen

About the Author

Liquid Web

Liquid Web powers online content, commerce, and potential for SMB entrepreneurs and the designers, developers and digital agencies who create for them. Sign up for our <a href="https://www.liquidweb.com/blog">newsletter</a> to stay up to date with our latest content.

More Content by Liquid Web
Previous Video
How to Remove a User on CentOS 7
How to Remove a User on CentOS 7

In the second video in this video series on Users via Command Line 101, we describe how to remove a user in...

Next Video
How to Install Python on CentOS 8
How to Install Python on CentOS 8

In this video, we describe how to Install Python on CentOS 8. We show you how to install Python 2 and Pytho...

Learn What Qualities to Look for in Your Next Host in Our New Guide!

Download Now