LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 06-21-2004, 12:41 AM   #1
Rick Winters
LQ Newbie
 
Registered: Apr 2004
Posts: 10

Rep: Reputation: 0
number of users?


Running Sid w/gkrellm on the desktop. Gkrellm says I have two users active. I open up a console and type "users" and it says:

rickw rickw


Is it normal for my user account to be listed twice?
 
Old 06-21-2004, 03:00 AM   #2
muxman
Member
 
Registered: Apr 2004
Distribution: Debian
Posts: 203

Rep: Reputation: 32
Re: number of users?

Quote:
Originally posted by Rick Winters
Running Sid w/gkrellm on the desktop. Gkrellm says I have two users active. I open up a console and type "users" and it says:

rickw rickw


Is it normal for my user account to be listed twice?
It shouldn't be unless you are logged in twice with the same username. I've never had that happen to me unless I was a logged in locally and I was also logged in through ssh from another computer. Running back and forth with being logged in twice. That's the only time I've seen that. Could someone have you login info and be connected through telnet or ssh to your system while you are logged in locally? That's a possible security concern there. Shutdown your eth0 for a minute and see if that other login diappears, this will kick off any network connections to the linux box and if there is something like that going on you will see the other users disappear.

I'm also wondering if you have a cron job running under that username will is show up as another login? If anyone out there can answer that it may be another reason if it does show like that.
 
Old 06-21-2004, 05:21 AM   #3
auditek747
Member
 
Registered: Feb 2004
Location: Ohio, USA
Distribution: Arch Linux
Posts: 464

Rep: Reputation: 30
What gui are you using?
I log in at runlevel 3 and then startx into KDE.
With KDE 3.1 I end up with 2 users:

My origional login shell and kdeinit.

On my machine with KDE 3.2 I only have 1 user.

Typing w in a term will give you that info.
 
Old 06-21-2004, 07:35 AM   #4
Rick Winters
LQ Newbie
 
Registered: Apr 2004
Posts: 10

Original Poster
Rep: Reputation: 0
I boot into the KDE and startx is done automatically. If I shut down Eth0, the second connection does not dissappear. This is a stand alone machine with a single pppoe connection. Cron is not running but ssh was running. Shutting down ssh did not alter the dual login.

Output of w:

rickw@mineboxen:~$ w
07:23:03 up 5 min, 2 users, load average: 0.04, 0.17, 0.09
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
rickw :0 - Fri06 ?xdm? 19.07s 0.00s /usr/bin/kdm
rickw :0 - 07:19 ?xdm? 19.07s 0.00s -:0


Any thoughts?
 
Old 06-21-2004, 10:09 AM   #5
auditek747
Member
 
Registered: Feb 2004
Location: Ohio, USA
Distribution: Arch Linux
Posts: 464

Rep: Reputation: 30
See if kwrited is running. That is my second user.
It's a daemon of some sort. Thought I really don't
know what for. I'll check on it. I just shut it off and in
about 10 seconds dropped to one user.
 
Old 06-21-2004, 10:22 AM   #6
auditek747
Member
 
Registered: Feb 2004
Location: Ohio, USA
Distribution: Arch Linux
Posts: 464

Rep: Reputation: 30
Here's the best I could google:

... KWriteD. If you're running single user machine, you most probably don't need kwrited,
the daemon used for showing messages from commands like 'wall' or 'write'. ...
wiki.kdenews.org/tiki-index.php?page=Performance%20Tips - 58k -

The page would not open for me.
 
  


Reply



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
number of users edgjerp Linux - Software 6 11-04-2005 02:34 AM
number of users in a group cookie_ie Programming 7 03-24-2005 03:43 PM
Number of Linux Users liguorir Linux - Software 1 11-10-2003 10:24 AM
how to find the number of users mtest Programming 3 10-28-2003 02:41 AM
Apache: number of users on a website? mikeshn Linux - Software 0 07-22-2003 06:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 06:55 AM.

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
Open Source Consulting | Domain Registration