Sponsored Content
Operating Systems Linux Red Hat Logged in users on a Linux server are counted twice Post 302933083 by walterthered on Tuesday 27th of January 2015 11:58:06 AM
Old 01-27-2015
Logged in users on a Linux server are counted twice

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. fakeuser).
3. Log into TTY2 of the linux server interface using another valid user account (e.g. faketester).

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:
faketester
fakeuser
fakeuser
faketester
root
The TTY2 and SSH sessions are counted twice.
I am testing this on a RHEL6.5
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Migrating all users from one linux server to another...

Hello, I've been tasked with migrating users from one linux server to another new linux server. This is how I was thinking of doing it: 1.) Open up an NFS connection between the two servers, cp -Rp /home/ to the new server and then append the old /etc/group & /etc/passwd to the existing... (2 Replies)
Discussion started by: vancouver_joe
2 Replies

2. IP Networking

All tcp/ip users are logged out

I have an RS6000 server running AIX and on occasion all users are logged out of the server "connection closed by foreign host" is the error message. Normally a user can press enter and get a Login prompt, but they get the message "connection refused" and then the users can wait a minute or so and... (2 Replies)
Discussion started by: Docboyeee
2 Replies

3. IP Networking

Users logged in through which NIC

We have two NIC cards in our IBM RS/6000 F50 running AIX 4.3.3 We are trying to make sure we have moved all users to log in through the new NIC. 10.22.x.y (old) 10.22.x.z (new) How can I tell which users are still using the old address for logging in so I can update their work station to... (5 Replies)
Discussion started by: cburtgo
5 Replies

4. Shell Programming and Scripting

how many users logged

in unix what is the syntax to find out how many users are currently logged in (4 Replies)
Discussion started by: trichyselva
4 Replies

5. Post Here to Contact Site Administrators and Moderators

logged out users

how to find out users who logged out within 5 minutes (1 Reply)
Discussion started by: roshni
1 Replies

6. Shell Programming and Scripting

Users Not Logged in

I have searched the forums but have not mangaed to quite find what im looking for. I have used to /etc/passwd command to present me a list of all users the who command to present all users currently logged on, but what i want to know is what command can i use to display users that are registered... (12 Replies)
Discussion started by: warlock129
12 Replies

7. UNIX for Dummies Questions & Answers

How many users are logged in?

How do I find this out? I have a feeling its a simple command such as who, but I just don't know what it is. I've had a search on here but either I can't put it into the right search criteria or there isn't a topic on it. Thanks. EDIT: Delete this thread, as I posted it I noticed the... (0 Replies)
Discussion started by: chris_rabz
0 Replies

8. Red Hat

Current logged in users

I have 2 systems. (1) RHEL5 and (2) winXP pro from xpPRO putty i ssh into rhel5 : user root from xpPRO i ftp into rhel5 : user abc123 when i run #uptime it only shows 1 user when i do #ps -u abc123 : it shows vsftpd deamon PID is there a command that can be used to show all currently... (4 Replies)
Discussion started by: dplinux
4 Replies

9. Shell Programming and Scripting

Total number of users logged in a server from uptime

how to find out total number of users logged in a server from uptime . i mean to say i need the total output of unix command . who gives the out put at a particular time . I need at all time from which machine who has connected , (3 Replies)
Discussion started by: amiya.te@gmail
3 Replies

10. Linux

Logged in users on a Linux server are counted twice

Scenario: Log into a linux server interface as root. Inititiate an SSH session with the server using Putty and a valid user account (e.g. fakeuser). Log into TTY2 of the linux server interface using another valid user account (e.g. faketester). Issue: With these three login sessions,... (8 Replies)
Discussion started by: walterthered
8 Replies
SSL_CTX_sess_number(3)						      OpenSSL						    SSL_CTX_sess_number(3)

NAME
SSL_CTX_sess_number, SSL_CTX_sess_connect, SSL_CTX_sess_connect_good, SSL_CTX_sess_connect_renegotiate, SSL_CTX_sess_accept, SSL_CTX_sess_accept_good, SSL_CTX_sess_accept_renegotiate, SSL_CTX_sess_hits, SSL_CTX_sess_cb_hits, SSL_CTX_sess_misses, SSL_CTX_sess_time- outs, SSL_CTX_sess_cache_full - obtain session cache statistics SYNOPSIS
#include <openssl/ssl.h> long SSL_CTX_sess_number(SSL_CTX *ctx); long SSL_CTX_sess_connect(SSL_CTX *ctx); long SSL_CTX_sess_connect_good(SSL_CTX *ctx); long SSL_CTX_sess_connect_renegotiate(SSL_CTX *ctx); long SSL_CTX_sess_accept(SSL_CTX *ctx); long SSL_CTX_sess_accept_good(SSL_CTX *ctx); long SSL_CTX_sess_accept_renegotiate(SSL_CTX *ctx); long SSL_CTX_sess_hits(SSL_CTX *ctx); long SSL_CTX_sess_cb_hits(SSL_CTX *ctx); long SSL_CTX_sess_misses(SSL_CTX *ctx); long SSL_CTX_sess_timeouts(SSL_CTX *ctx); long SSL_CTX_sess_cache_full(SSL_CTX *ctx); DESCRIPTION
SSL_CTX_sess_number() returns the current number of sessions in the internal session cache. SSL_CTX_sess_connect() returns the number of started SSL/TLS handshakes in client mode. SSL_CTX_sess_connect_good() returns the number of successfully established SSL/TLS sessions in client mode. SSL_CTX_sess_connect_renegotiate() returns the number of start renegotiations in client mode. SSL_CTX_sess_accept() returns the number of started SSL/TLS handshakes in server mode. SSL_CTX_sess_accept_good() returns the number of successfully established SSL/TLS sessions in server mode. SSL_CTX_sess_accept_renegotiate() returns the number of start renegotiations in server mode. SSL_CTX_sess_hits() returns the number of successfully reused sessions. In client mode a session set with SSL_set_session(3) successfully reused is counted as a hit. In server mode a session successfully retrieved from internal or external cache is counted as a hit. SSL_CTX_sess_cb_hits() returns the number of successfully retrieved sessions from the external session cache in server mode. SSL_CTX_sess_misses() returns the number of sessions proposed by clients that were not found in the internal session cache in server mode. SSL_CTX_sess_timeouts() returns the number of sessions proposed by clients and either found in the internal or external session cache in server mode, but that were invalid due to timeout. These sessions are not included in the SSL_CTX_sess_hits() count. SSL_CTX_sess_cache_full() returns the number of sessions that were removed because the maximum session cache size was exceeded. RETURN VALUES
The functions return the values indicated in the DESCRIPTION section. SEE ALSO
ssl(3), SSL_set_session(3), SSL_CTX_set_session_cache_mode(3) SSL_CTX_sess_set_cache_size(3) 0.9.7a 2001-02-15 SSL_CTX_sess_number(3)
All times are GMT -4. The time now is 02:19 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy