{"id":1022,"date":"2019-12-18T02:37:34","date_gmt":"2019-12-18T08:37:34","guid":{"rendered":"https:\/\/linuxhostsupport.com\/blog\/?p=1022"},"modified":"2019-12-18T02:37:34","modified_gmt":"2019-12-18T08:37:34","slug":"how-to-list-users-in-linux","status":"publish","type":"post","link":"https:\/\/linuxhostsupport.com\/blog\/how-to-list-users-in-linux\/","title":{"rendered":"How to List Users in Linux"},"content":{"rendered":"<div id=\"linux-2269012184\" class=\"linux-before-1st-paragraph linux-entity-placement\" style=\"margin-top: 15px;margin-bottom: 15px;\"><a href=\"https:\/\/www.rosehosting.com\/managed-vps-hosting\/?mtm_campaign=blogs&#038;mtm_source=lhs&#038;mtm_medium=blog&#038;mtm_content=managed-vps&#038;mtm_cid=1339&#038;mtm_placement=inline\" aria-label=\"Untitled\"><img src=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340090_NVMeGoogleAds_728x90_041322.jpg\" alt=\"\"  srcset=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340090_NVMeGoogleAds_728x90_041322.jpg 728w, https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340090_NVMeGoogleAds_728x90_041322-300x37.jpg 300w\" sizes=\"(max-width: 728px) 100vw, 728px\" width=\"728\" height=\"90\"  style=\"display: inline-block;\" \/><\/a><\/div><p>In this tutorial, we&#8217;ll be going over how to list the users that have been created on your Linux system. This applies for all distributions, and is very easy to do.<\/p>\n<p><img decoding=\"async\" class=\"alignright size-full wp-image-1026\" src=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2019\/12\/listing-users-on-linux-system-easily.jpg\" alt=\"\" width=\"140\" height=\"140\" srcset=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2019\/12\/listing-users-on-linux-system-easily.jpg 140w, https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2019\/12\/listing-users-on-linux-system-easily-60x60.jpg 60w\" sizes=\"(max-width: 140px) 100vw, 140px\" \/>The users on your system can be either normal &#8220;human&#8221; users or system users. The normal users are usually other people that can log in and interact with your server, while the system users are used to start non-interactive background services. You might even create users for certain software platforms to have a user that grants them access to certain files and directories. Let&#8217;s begin.<\/p>\n<p><!--more--><\/p>\n<h2>Step 1. Connect to your server<\/h2>\n<p>To connect to your server via SSH as the root user, use the following command:<\/p>\n<pre>ssh root@<span style=\"color: #ff0000;\">IP_ADDRESS<\/span> -p <span style=\"color: #ff0000;\">PORT_NUMBER<\/span><\/pre>\n<p>and replace &#8220;<span style=\"color: #ff0000;\">IP_ADDRESS<\/span>&#8221; and &#8220;<span style=\"color: #ff0000;\">PORT_NUMBER<\/span>&#8221; with your actual server IP address and SSH port number. Of course, you can also replace root with the username of any user you&#8217;d like, as all users can view the list of users on the system.<\/p>\n<h2>Step 2. The \/etc\/passwd file<\/h2>\n<p>In Linux, there isn&#8217;t any specific command that can list all users in your system. However, there is still a way to extract this information from our system. One important file that stores user information in your system is the <strong><code>\/etc\/passwd<\/code> file<\/strong>.<\/p>\n<p>The <strong><code>\/etc\/passwd<\/code><\/strong> file is a text file that stores all of the required information about all of the users that exist on our system.<br \/>\nEach entry in this file can have up to seven fields (separated by the colon &#8220;:&#8221; symbol) and each field contains some important information about that user. Here is an example of one entry for a user called &#8220;linux-user&#8221; stored in <strong><code>\/etc\/passwd<\/code><\/strong>:<\/p>\n<pre>linux-user:x:1000:1000:Linux User:\/home\/linux-user:\/bin\/bash<\/pre>\n<p>And here is an explanation of each of the fields in this entry:<\/p>\n<ol>\n<li>Username &#8211; this is the name of the user, in our example &#8220;linux-user&#8221;<\/li>\n<li>Password: this field contains the encrypted password of the user, marked with &#8220;x&#8221;. The encrypted password is stored in the <strong><code>\/etc\/shadow<\/code><\/strong> file in our system and can only be accessed by the root user.<\/li>\n<li>User ID number (UID) &#8211; this field contains a unique number for each user. The number 0 is reserved for the root user<\/li>\n<li>Group ID number (GID) &#8211; this is the ID number of the group, which is stored in the <strong><code>\/etc\/group<\/code><\/strong> file<\/li>\n<li>User Info: this field contains all additional user information such as the user&#8217;s real name, phone numbers and other information.<\/li>\n<li>Home Directory: this field contains the path of the user&#8217;s home directory. In our example, the home directory of the &#8220;linux-user&#8221; user is <strong><code>\/home\/linux-user<\/code><\/strong><\/li>\n<li>Login shell: this field contains the path of the user&#8217;s login shell, for example <strong><code>\/bin\/bash<\/code><\/strong><\/li>\n<\/ol>\n<h2>3. List all users on your Linux system<\/h2>\n<p>Now that we know about the existence of the <strong><code>\/etc\/passwd<\/code><\/strong> file and the information it contains, we can simply use the cat command to print all the contents of this file. You can then look at the first field of each entry which shows the name of each user in your system:<\/p>\n<pre>cat \/etc\/passwd<\/pre>\n<p>Output example:<\/p>\n<pre>root:x:0:0:root:\/root:\/bin\/bash\r\ndaemon:x:1:1:daemon:\/usr\/sbin:\/usr\/sbin\/nologin\r\nbin:x:2:2:bin:\/bin:\/usr\/sbin\/nologin\r\nsys:x:3:3:sys:\/dev:\/usr\/sbin\/nologin\r\nsync:x:4:65534:sync:\/bin:\/bin\/sync\r\ngames:x:5:60:games:\/usr\/games:\/usr\/sbin\/nologin\r\nman:x:6:12:man:\/var\/cache\/man:\/usr\/sbin\/nologin\r\nlp:x:7:7:lp:\/var\/spool\/lpd:\/usr\/sbin\/nologin\r\nmail:x:8:8:mail:\/var\/mail:\/usr\/sbin\/nologin\r\n. . .\r\n. . .\r\nsshd:x:104:65534::\/var\/run\/sshd:\/usr\/sbin\/nologin\r\nmysql:x:109:114:MySQL Server,,,:\/nonexistent:\/bin\/false\r\nlinux-user:x:1000:1000:Linux User:\/home\/linux-user:\/bin\/bash<\/pre>\n<p>If you want to list only the first field for each user, which contains the actual username, you can use the <code>cut<\/code> or the <code>awk<\/code> command. For example:<\/p>\n<pre>cut -d: -f1 \/etc\/passwd<\/pre>\n<p>or<\/p>\n<pre>awk -F: '{ print $1}' \/etc\/passwd<\/pre>\n<p>Both commands will give you the following output:<\/p>\n<pre>root\r\ndaemon\r\nbin\r\nsys\r\nsync\r\ngames\r\nman\r\nlp\r\nmail\r\n. . .\r\n. . .\r\nsshd\r\nmysql:\r\nlinux-user<\/pre>\n<p>Another way to list all users in your Linux system is with using the <code>getent<\/code> command.<\/p>\n<p>The <code>getent<\/code> command displays all entries from databases supported by the Name Service Switch libraries, which are configured in <strong><code>\/etc\/nsswitch.conf<\/code><\/strong><\/p>\n<p>This file also contains the passwd database, so you can now use the following command again where you will get the list of all entries included in the passwd database:<\/p>\n<pre>getent passwd<\/pre>\n<h2>How to Find if a Specific User Exists in Your System<\/h2>\n<p>Instead of listing all users, you may also want to check if any specific user exists on your Linux server. To do this, you can combine one of the previous commands with the <code>grep<\/code> command. For example, if you want to check whether the &#8220;linux-user&#8221; user exists on your server, you can type the following command:<\/p>\n<pre>cat \/etc\/passwd | grep linux-user<\/pre>\n<p>If the user exists, the following output should be displayed on your screen:<\/p>\n<pre>linux-user:x:1000:1000:Linux User:\/home\/linux-user:\/bin\/bash<\/pre>\n<p>By this point, you now know how to see what users exist on your server, as well as search for a specific user on your server.<\/p>\n<hr \/>\n<p><img decoding=\"async\" class=\"alignleft size-full wp-image-1027\" src=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2019\/12\/get-expert-support-with-all-linux-system-maintenance-for-all-distributions.jpg\" alt=\"\" width=\"140\" height=\"140\" srcset=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2019\/12\/get-expert-support-with-all-linux-system-maintenance-for-all-distributions.jpg 140w, https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2019\/12\/get-expert-support-with-all-linux-system-maintenance-for-all-distributions-60x60.jpg 60w\" sizes=\"(max-width: 140px) 100vw, 140px\" \/>Of course, if you are using one of our <a href=\"http:\/\/linuxhostsupport.com\/monthly-server-management.html\">Managed VPS Support<\/a> services, you can simply ask our expert Linux admins to help you and give you a list of all users on your Linux VPS, along with any other system-related questions or requests. They are available 24\u00d77 and will take care of your requests immediately.<\/p>\n<p><span style=\"color: #ff0000;\"><strong>PS.<\/strong><\/span> If you liked this post on how to list all users in Linux, please share it with your friends through social media by using the share shortcuts, or simply leave a comment below. Thanks.<\/p><div id=\"linux-799012663\" class=\"linux-after-8th-paragraph linux-entity-placement\" style=\"margin-top: 15px;margin-bottom: 15px;\"><a href=\"https:\/\/www.rosehosting.com\/managed-vps-hosting\/?mtm_campaign=blogs&#038;mtm_source=lhs&#038;mtm_medium=blog&#038;mtm_content=managed-vps&#038;mtm_cid=1340&#038;mtm_placement=inline\" aria-label=\"Untitled\"><img src=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340095_VPSGoogleAds_728x90_042622.jpg\" alt=\"\"  srcset=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340095_VPSGoogleAds_728x90_042622.jpg 728w, https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340095_VPSGoogleAds_728x90_042622-300x37.jpg 300w\" sizes=\"(max-width: 728px) 100vw, 728px\" width=\"728\" height=\"90\"  style=\"display: inline-block;\" \/><\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>In this tutorial, we&#8217;ll be going over how to list the users that have been created on your Linux system. This applies for all distributions, and is very easy to do. The users on your system can be either normal &#8220;human&#8221; users or system users. The normal users are usually other people that can log [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1024,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-1022","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-guides"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to List Users in Linux | LinuxHostSupport<\/title>\n<meta name=\"description\" content=\"In this tutorial, we&#039;ll be going over how to list the users that have been created on your Linux system. This applies for all distributions, and is very\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/linuxhostsupport.com\/blog\/how-to-list-users-in-linux\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to List Users in Linux | LinuxHostSupport\" \/>\n<meta property=\"og:description\" content=\"In this tutorial, we&#039;ll be going over how to list the users that have been created on your Linux system. This applies for all distributions, and is very\" \/>\n<meta property=\"og:url\" content=\"https:\/\/linuxhostsupport.com\/blog\/how-to-list-users-in-linux\/\" \/>\n<meta property=\"og:site_name\" content=\"LinuxHostSupport\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/linuxhostsupport\" \/>\n<meta property=\"article:published_time\" content=\"2019-12-18T08:37:34+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2019\/12\/how-to-list-users-in-linux.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"750\" \/>\n\t<meta property=\"og:image:height\" content=\"410\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@lnxhostsupport\" \/>\n<meta name=\"twitter:site\" content=\"@lnxhostsupport\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/linuxhostsupport.com\/blog\/how-to-list-users-in-linux\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/linuxhostsupport.com\/blog\/how-to-list-users-in-linux\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\/\/linuxhostsupport.com\/blog\/#\/schema\/person\/53a9571ea078cdf350137a1e97423cfb\"},\"headline\":\"How to List Users in Linux\",\"datePublished\":\"2019-12-18T08:37:34+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/linuxhostsupport.com\/blog\/how-to-list-users-in-linux\/\"},\"wordCount\":792,\"commentCount\":0,\"image\":{\"@id\":\"https:\/\/linuxhostsupport.com\/blog\/how-to-list-users-in-linux\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2019\/12\/how-to-list-users-in-linux.jpg\",\"articleSection\":[\"Guides\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/linuxhostsupport.com\/blog\/how-to-list-users-in-linux\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/linuxhostsupport.com\/blog\/how-to-list-users-in-linux\/\",\"url\":\"https:\/\/linuxhostsupport.com\/blog\/how-to-list-users-in-linux\/\",\"name\":\"How to List Users in Linux | LinuxHostSupport\",\"isPartOf\":{\"@id\":\"https:\/\/linuxhostsupport.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/linuxhostsupport.com\/blog\/how-to-list-users-in-linux\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/linuxhostsupport.com\/blog\/how-to-list-users-in-linux\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2019\/12\/how-to-list-users-in-linux.jpg\",\"datePublished\":\"2019-12-18T08:37:34+00:00\",\"author\":{\"@id\":\"https:\/\/linuxhostsupport.com\/blog\/#\/schema\/person\/53a9571ea078cdf350137a1e97423cfb\"},\"description\":\"In this tutorial, we'll be going over how to list the users that have been created on your Linux system. This applies for all distributions, and is very\",\"breadcrumb\":{\"@id\":\"https:\/\/linuxhostsupport.com\/blog\/how-to-list-users-in-linux\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/linuxhostsupport.com\/blog\/how-to-list-users-in-linux\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/linuxhostsupport.com\/blog\/how-to-list-users-in-linux\/#primaryimage\",\"url\":\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2019\/12\/how-to-list-users-in-linux.jpg\",\"contentUrl\":\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2019\/12\/how-to-list-users-in-linux.jpg\",\"width\":750,\"height\":410},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/linuxhostsupport.com\/blog\/how-to-list-users-in-linux\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/linuxhostsupport.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to List Users in Linux\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/linuxhostsupport.com\/blog\/#website\",\"url\":\"https:\/\/linuxhostsupport.com\/blog\/\",\"name\":\"LinuxHostSupport\",\"description\":\"Linux Tutorials and Guides\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/linuxhostsupport.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/linuxhostsupport.com\/blog\/#\/schema\/person\/53a9571ea078cdf350137a1e97423cfb\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"url\":\"https:\/\/linuxhostsupport.com\/blog\/author\/r0s3admin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to List Users in Linux | LinuxHostSupport","description":"In this tutorial, we'll be going over how to list the users that have been created on your Linux system. This applies for all distributions, and is very","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/linuxhostsupport.com\/blog\/how-to-list-users-in-linux\/","og_locale":"en_US","og_type":"article","og_title":"How to List Users in Linux | LinuxHostSupport","og_description":"In this tutorial, we'll be going over how to list the users that have been created on your Linux system. This applies for all distributions, and is very","og_url":"https:\/\/linuxhostsupport.com\/blog\/how-to-list-users-in-linux\/","og_site_name":"LinuxHostSupport","article_publisher":"https:\/\/www.facebook.com\/linuxhostsupport","article_published_time":"2019-12-18T08:37:34+00:00","og_image":[{"width":750,"height":410,"url":"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2019\/12\/how-to-list-users-in-linux.jpg","type":"image\/jpeg"}],"author":"admin","twitter_card":"summary_large_image","twitter_creator":"@lnxhostsupport","twitter_site":"@lnxhostsupport","twitter_misc":{"Written by":"admin","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-list-users-in-linux\/#article","isPartOf":{"@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-list-users-in-linux\/"},"author":{"name":"admin","@id":"https:\/\/linuxhostsupport.com\/blog\/#\/schema\/person\/53a9571ea078cdf350137a1e97423cfb"},"headline":"How to List Users in Linux","datePublished":"2019-12-18T08:37:34+00:00","mainEntityOfPage":{"@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-list-users-in-linux\/"},"wordCount":792,"commentCount":0,"image":{"@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-list-users-in-linux\/#primaryimage"},"thumbnailUrl":"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2019\/12\/how-to-list-users-in-linux.jpg","articleSection":["Guides"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/linuxhostsupport.com\/blog\/how-to-list-users-in-linux\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-list-users-in-linux\/","url":"https:\/\/linuxhostsupport.com\/blog\/how-to-list-users-in-linux\/","name":"How to List Users in Linux | LinuxHostSupport","isPartOf":{"@id":"https:\/\/linuxhostsupport.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-list-users-in-linux\/#primaryimage"},"image":{"@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-list-users-in-linux\/#primaryimage"},"thumbnailUrl":"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2019\/12\/how-to-list-users-in-linux.jpg","datePublished":"2019-12-18T08:37:34+00:00","author":{"@id":"https:\/\/linuxhostsupport.com\/blog\/#\/schema\/person\/53a9571ea078cdf350137a1e97423cfb"},"description":"In this tutorial, we'll be going over how to list the users that have been created on your Linux system. This applies for all distributions, and is very","breadcrumb":{"@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-list-users-in-linux\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/linuxhostsupport.com\/blog\/how-to-list-users-in-linux\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-list-users-in-linux\/#primaryimage","url":"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2019\/12\/how-to-list-users-in-linux.jpg","contentUrl":"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2019\/12\/how-to-list-users-in-linux.jpg","width":750,"height":410},{"@type":"BreadcrumbList","@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-list-users-in-linux\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/linuxhostsupport.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to List Users in Linux"}]},{"@type":"WebSite","@id":"https:\/\/linuxhostsupport.com\/blog\/#website","url":"https:\/\/linuxhostsupport.com\/blog\/","name":"LinuxHostSupport","description":"Linux Tutorials and Guides","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/linuxhostsupport.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/linuxhostsupport.com\/blog\/#\/schema\/person\/53a9571ea078cdf350137a1e97423cfb","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g","caption":"admin"},"url":"https:\/\/linuxhostsupport.com\/blog\/author\/r0s3admin\/"}]}},"_links":{"self":[{"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/posts\/1022","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/comments?post=1022"}],"version-history":[{"count":3,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/posts\/1022\/revisions"}],"predecessor-version":[{"id":1030,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/posts\/1022\/revisions\/1030"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/media\/1024"}],"wp:attachment":[{"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/media?parent=1022"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/categories?post=1022"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/tags?post=1022"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}