F
F
fenric2014-04-13 20:29:39
linux
fenric, 2014-04-13 20:29:39

Why does $users return 2 root users?

How can it happen that there are allegedly 2 active root users in the system? I was surprised, I changed the port again, passwords, but nevertheless, what options can be considered?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Melkij, 2014-04-13
@fenric

info coreutils 'users invocation'

`users' prints on a single line a blank-separated list of user names of
users currently logged in to the current host. Each user name
corresponds to a login session, so if a user has more than one login
session, that user's name will appear the same number of times in the
output.

E
Eugene, 2014-04-13
@Nc_Soft

Here are some more interesting commands for you to "play around"
w
who
last

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question