inxi says system has 3 users and yast, users and group management shows 1 user

I have run inxi -F command. The last part of the output “info” is shown below.

**Info:**
  **Processes:** 398  
  **Uptime:** 10:03:54  up 5 days 19:43,  3 users,  load average: 8.71, 6.27, 5.24  
  **Memory:** 31.27 GiB **used:** 12.73 GiB (40.7%) **Shell:** bash **inxi:** 3.1.00  
(base) tom@mydesktop:~> 

Yast, User and Group Management shows 1 user. That user is a member of 8 groups as checkmarked in the edit → details → Additional Groups dropdown menu inYast, User and Group Management.

I have looked at a half dozen or so doc files on inxi. This included: https://linuxcommandlibrary.com/man/inxi that was the most elaborate. None included any info on what inxi is counting as a user. The man inxi also had no info on users.

The who command shows:

(base) tom@mydesktop:~> who
tom
(base) tom@mydesktop:~>

wc of passwd command shows:

(base) tom@mydesktop:~> wc -l /etc/passwd       
52 /etc/passwd
(base) tom@mydesktop:~>

In looking at /etc/passwd there are all the groups listed as system users in yast but after that last one (wwwrun) there are the following entries:

wwwrun:x:451:448:WWW daemon apache:/var/lib/wwwrun:/sbin/nologin
tom:x:1000:100:tom kosvic:/home/tom:/bin/bash
memcached:x:444:443:user for memcached:/var/lib/memcached:/bin/false
redis:x:443:442:User for redis key-value store:/var/lib/redis:/sbin/nologin

Can I conclude that the last three are the inxi users?, i.e., tom, memcached, redis?

Would like to learn what three inxi users are. This is based upon another thread that morphed into an inxi thread.

thanks, tom kosvic

You already got the answer in another thread.

that morphed into an inxi thread.

Ans what did you expect? You are asking why some program gives some output which is impossible to answer generically, without discussing what program does exactly and how this program determines this output.

Last comment in previous thread said that the question belonged in a separate inxi thread. No one gave a specific answer in last thread.

So, are: [size=2] tom, memcached, redis the users inxi is reporting?

tom kosvic[/size]

You got already several slight hints that you may/should ask the developers of inxi or use the provided support possibilities on their site:
https://github.com/smxi/inxi/wiki
https://techpatterns.com/forums/forum-33.html

Hi
What version of who is running?

On three (3) Leap 15.3 systems I see;

System 1 (GNOME DE running and access via ssh)


who --version

who (GNU coreutils) 8.32
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.


Written by Joseph Arceneaux, David MacKenzie, and Michael Stone.

who

malcolml :            2022-05-16 10:53 (:)
malcolml :0           2022-05-16 10:53 (:0)
malcolml pts/0        2022-05-16 10:53 (192.168.10.50)

last -n 3

malcolml pts/0        192.168.10.50    Mon May 16 10:53   still logged in
malcolml :0           :0               Mon May 16 10:53   still logged in
malcolml :            :                Mon May 16 10:53   still logged in


wtmp begins Thu Jul 22 07:26:25 2021

uptime
 10:57:36  up   0:04,  3 users,  load average: 0.06, 0.36, 0.21

System 2 (Test Server logged in via ssh)


who --version

who (GNU coreutils) 8.32
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.


Written by Joseph Arceneaux, David MacKenzie, and Michael Stone.

who
malcolml pts/0        2022-05-16 10:53 (192.168.10.50)

last -n 1
malcolml pts/0        192.168.10.50    Mon May 16 10:53   still logged in


wtmp begins Sat Jan 22 17:31:16 2022

uptime
 10:59:33  up   0:06,  1 user,  load average: 0.00, 0.01, 0.00

System 3 (Another server logged in via ssh)


who --version

who (GNU coreutils) 8.32
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.


Written by Joseph Arceneaux, David MacKenzie, and Michael Stone.

who
malcolml pts/0        2022-05-16 11:02 (192.168.10.50)

last -n 1
malcolml pts/0        192.168.10.50    Mon May 16 11:02   still logged in


wtmp begins Mon Feb 14 16:50:32 2022

uptime
 11:02:22  up 26 days  2:42,  1 user,  load average: 0.16, 0.16, 0.17

Any user less than 1000 is a system user, installed users start from 1000, so if you created a test user it would be 1001. Looks like memcached and redis add their own system users.

The uptime, who and last command show correct user count.

I posted a query on Tech Patterns :: inxi reports 3 users using -F option, yast (openSUSE) shows 1 user which is where your sources led me. See what happens.

thanks, tom kosvic

Per above request,

(base) tom@mydesktop:~> who --version
whoami (GNU coreutils) 8.32
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Richard Mlynarik.
(base) tom@mydesktop:~> who
tom
(base) tom@mydesktop:~> 

Something strange, different authors

And I already told you exactly that, but you apparently demand spoon feeding …

I see problem in that there is an alias to “who” that points to “whoami”. I have no idea where this came from.

I’ll fix it and repost

Removed alias from who to whoami.

(base) tom@mydesktop:~> who
tom      :            2022-05-10 14:23 (:)
tom      :1           2022-05-10 14:23 (:1)
tom      pts/0        2022-05-16 11:48 (:1)
(base) tom@mydesktop:~> 

I guess these are the users inxi is counting.

thanks, tom kosvic

The inxi in 15.3 is a buggy antique. Upgrade to current using -U switch before deciding there are bugs.

Hi
The latest version (3.3.15) doesn’t show user count anymore, so a moot point :wink:

Per info above,

I updated inxi using inxi -U as root.
System updated to inxi 3.3.15

After running inxi -F, there is now no “users” as a data item output.

I guess I won’t get a response from inxi forum on “how are users determined” query.

thanks, tom kosvic