How to Check the Number of Created User Account on Linux

Question :
How to check the number of created user on linux server?

Answer :

To check the created user on your linux machine, simply run the following command. This will includes the number of user for installed services such as apache, mysql or squid which will be installed automatically in order to run the particular services.

[root@centos62 ~]# cat /etc/passwd | wc -l
38

This command has been tested on linux centOS 6.2 server and may working on Redhat Enterprise linux and othr CentOS version. The result shows that there are 38 users on this linux CentOS 6.2 server.

Leave a Reply

Your email address will not be published. Required fields are marked *

SiteGround.com

A world leading hosting company that provides fully-managed innovative and secure solutions, suitable for hosting small to medium-sized websites

Built on the best available technologies combined with Google Cloud for strong redundancy and application availability. Backed by skilled experts to address web security threats, a devops team to create advanced custom security solutions, and 24/7 sysadmins to watch over the platform. This powerful, hands-on approach makes your sites faster, safer, and easier to manage. Starting from only $3.95/mo.

TRY FREE

* up to 30 days money back guarantee