Logged in users on a Linux server are counted twice
Posted: Sun Feb 01, 2015 5:30 pm
Scenario:
1. Log into a linux server interface as root.
2. Inititiate an SSH session with the server using Putty and a valid user account (e.g. user1).
3. Log into TTY2 of the linux server interface using another valid user account (e.g. user2).
Issue:
With these three login sessions, the linux server reports that there are five (5) users logged into the server and lists the users as:
user2
user1
user1
user2
root
The TTY2 and SSH sessions are counted twice.
1. Log into a linux server interface as root.
2. Inititiate an SSH session with the server using Putty and a valid user account (e.g. user1).
3. Log into TTY2 of the linux server interface using another valid user account (e.g. user2).
Issue:
With these three login sessions, the linux server reports that there are five (5) users logged into the server and lists the users as:
user2
user1
user1
user2
root
The TTY2 and SSH sessions are counted twice.