I'm on Debian 5 - when I run the w command, it reports 2 users, but I'm the only person logged in. Is this cause for concern?
Code:
curos@histeria:~$ w
16:17:25 up 4 days, 11:56, 2 users, load average: 0.00, 0.00, 0.00
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
curos pts/0 adsl-62-136-40-8 16:02 0.00s 0.02s 0.00s w
Then I get root to login, it still reports 2 users (this time, correctly)
Code:
curos@histeria:~$ w
16:19:20 up 4 days, 11:58, 2 users, load average: 0.00, 0.00, 0.00
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
root hvc0 - 16:19 7.00s 0.00s 0.00s -bash
curos pts/0 adsl-62-136-40-8 16:02 0.00s 0.02s 0.00s w
Note: this is a xen VPS (does that matter?)
Also, I notice a logger running when i run netstat -pane (it's the last line)
Is that normal logging duties to open up a DGRAM socket?
Code:
histeria:~# netstat -pane
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State User Inode PID/Program name
tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN 0 26269 11867/sshd
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 102 16795 5206/mysqld
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 0 17818 5973/exim4
tcp 0 0 148.145.78.18:11 62.136.40.8:49718 ESTABLISHED 0 28498 12518/sshd: curos
tcp6 0 0 :::21 :::* LISTEN 0 26267 11867/sshd
tcp6 0 0 :::80 :::* LISTEN 0 27270 12124/apache2
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags Type State I-Node PID/Program name Path
unix 2 [ ] DGRAM 1956 594/udevd @/org/kernel/udev/udevd
unix 2 [ ACC ] STREAM LISTENING 16796 5206/mysqld /var/run/mysqld/mysqld.sock
unix 4 [ ] DGRAM 25840 1132/rsyslogd /dev/log
unix 2 [ ] DGRAM 29043 12583/login
unix 3 [ ] STREAM CONNECTED 28533 12518/sshd: curos
unix 3 [ ] STREAM CONNECTED 28532 12520/0
unix 2 [ ] DGRAM 28531 12518/sshd: curos
unix 2 [ ] DGRAM 16791 5207/logger
ips, username, etc changed as necessary