LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices



Reply
 
Search this Thread
Old 10-23-2003, 06:57 PM   #1
tyccea
Member
 
Registered: Aug 2003
Location: atlanta, ga
Distribution: SuSE 8.2
Posts: 90

Rep: Reputation: 15
3 concurrent logins 4 same user?


...maybe this post belongs in Security or General; if so, please pardon my judgment.

[root@kinjiru bin]# w
18:50:22 up 9:24, 3 users, load average: 0.24, 0.18, 0.11
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
tyccea :0 - 9:28am ? 0.00s 0.14s /bin/sh /usr/bi
tyccea pts/0 - 9:29am 9:21m 0.00s 0.81s kdeinit: kwrite
tyccea pts/1 - 5:52pm 0.00s 0.42s 0.13s /bin/bash
[root@kinjiru bin]#

Why am I logged in three times? I don't really understand this output. gkrellm will say 2 users are logged in the whole time I'm signed on. Is there a document anyone knows of that addresses this question specifically?

TIA
 
Old 10-23-2003, 11:11 PM   #2
windowsrefund
Red Hat Ambassador
 
Registered: Aug 2003
Location: NYC
Distribution: Debian, Redhat
Posts: 73

Rep: Reputation: 15
Any chance you're running screen? On on hand, the pts/0 and pts/1 makes me think you are. On the other hand, the lack of screen showing up as a command that is being run makes me think otherwise. Of course, the pts logins might also indicate that you had connected from a remote connection (telnet, ssh, etc...) but I don't think so since all of the FROM fields are marked as - (which I believe means local).

I think I'd have to know more about your environment in order to be more helpful. What init level do you boot into?

Best,
Adam
 
Old 10-23-2003, 11:20 PM   #3
windowsrefund
Red Hat Ambassador
 
Registered: Aug 2003
Location: NYC
Distribution: Debian, Redhat
Posts: 73

Rep: Reputation: 15
Just thought I'd mention that my gkrellm info does concur with the output of w. Gkrellm reports 8 users on my system.


100% nephilim:akosmin $ w -h
akosmin tty1 - 17Oct03 4days 38.64s 0.00s /bin/sh /usr/X11R6/bin/startx
akosmin pts/0 - 17Oct03 0.00s 0.14s 0.02s screen -c .screenrc-network
akosmin pts/1 - 9:15pm 11.00s 0.23s 0.21s -bash
akosmin pts/2 - 9:15pm 14:46 1.75s 1.75s mutt
akosmin pts/3 - 9:15pm 1:49m 0.12s 0.12s vi
akosmin pts/4 - 9:15pm 0.00s 0.19s 0.01s w -h
akosmin pts/5 - 9:15pm 1:49m 0.20s 0.20s vi -Rc help user-manual
akosmin pts/6 - 9:15pm 1:49m 0.23s 0.23s tail -f /var/log/messages

* reason for edit: removed bbcode

Last edited by windowsrefund; 10-23-2003 at 11:21 PM.
 
Old 10-23-2003, 11:49 PM   #4
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 47
yo uget logged in once when you login. Then each time you open a terminal window you get logged in again. So with X running and one terminal window open from which you look for who's logged in, you'll see yourself twice. If you have more terminal windows open, you'll see more of you.
 
Old 10-24-2003, 02:07 AM   #5
tyccea
Member
 
Registered: Aug 2003
Location: atlanta, ga
Distribution: SuSE 8.2
Posts: 90

Original Poster
Rep: Reputation: 15
Thanks for clearing that up. The answer was right there in the output...boy, you people make me feel so dumb. I love it.
The more ya learn, the less ya know, ya know?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
debian on 720 will not allow user logins! compynerd386 Debian 4 10-15-2008 05:00 PM
Different user logins, different issues gmgartner Slackware 4 04-21-2005 08:42 PM
syslog and normal user logins bujecas Slackware 9 12-20-2004 12:18 PM
Restriction on user logins klmn1 Linux - Networking 2 05-26-2003 06:40 AM
User Logins TerminalPhreak Linux - Newbie 3 02-28-2003 02:56 PM


All times are GMT -5. The time now is 02:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration