Listing users in Linux | Linux Today

Listing users in Linux

Written By
ME
Mokhtar Ebrahim
Oct 15, 2019

1 What file contains the list of the users on Linux?
2 List all users
3 List & sort users by name
4 Linux list users without password
5 List users by disk usage
6 List the currently logged users
7 Linux list of users who recently logged into the system
8 List users’ logins on a specific date or time
9 List all users in a group
10 List users with UID
11 List root users
12 Get the total number of users
13 List sudo users
14 List users who have SSH access
15 List users who have permissions to a file or directory
16 List locked (disabled) users
17 Conclusion

ME

Mokhtar Ebrahim

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.