Problem with 'ghosted' logins.


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Problem with 'ghosted' logins.
# 1  
Old 12-02-2004
Problem with 'ghosted' logins. [solved]

I'm using a FreeBSD 5 x86 system.

I have no users aside from root and my normal login, ie. the computer is not used by anyone other than myself.

I find that I get two ghosted logins after running KDE. These logins have no processes attached to them and `who` reports that they came from my eth0 hostname. They appear on ttyp0 and p1. I've tried to `watch -W ttyp0` but Watch is unable to write to the tty; which makes sense because the ttys are not actually logged in. I can remedy the problem by logging out of KDE, closing any local shells, v0, v1, etc. then SSHing into the box twice and using logout. After that the shells seem to get the hint and get reported as logged out. So far it's not a security issue, it seems more an annoyance than anything, but I fear it may suggest a problem with my computer's configuration. /var/run/utmp is set to rw-r-r, as is /var/log/wtmp. From what I've read here and in the man pages that is the appropriate setting.

Is this a problem with file permissions or is it a KDE/Xwin problem? Or is it something else all together?

update:
here is some additional information...

I logged out p0 (using login from SSH) and took a look at /dev, here is p0 and p1. right now p1 is still logged in according to `who`
Quote:
crw-rw-rw- 1 root tty 5, 0 Dec 2 11:08 ttyp0
crw-r--r-- 1 root tty 5, 1 Dec 1 15:58 ttyp1
I kind of understand the concept behind entries in /dev, but not enough to think that I could change file settings arbitrarily.


Thank you,
-John



The solution to this is such:
Quote:
This is an inherant bug with KDE's handleing of FreeBSD terminals via `konsole_grantpty`. It was fixed in more recent versions of KDE, there are also several amature patches avaialble, however there is no non-patch fix for FreeBSD 5-REL/KDE 3. The patches require a complete reinstallation of KDE, and in most cases are just not worth the effort.
I've chosed to ignore it.

Last edited by seg; 12-02-2004 at 03:24 PM..
# 2  
Old 12-02-2004
Don't change stuff in /dev.

Old threads:

past login still exist in the system
kill the tty
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

ALOM Not Responding to logins

I have a few servers that are all having the same problem when trying to login to their ALOMs. The are T2000's. When I go to login I get the login prompt, but some machines ALOMs aren't responding to the initial login: # ssh xx.xx.xx.xx Copyright 2008 Sun Microsystems, Inc. All rights... (9 Replies)
Discussion started by: christr
9 Replies

2. Solaris

User Logins

Is the below logins are needed in the machine..... nuucp , uucp ,smmsp , svctag , listen , webservd , ip ( We are not using printers), Can you help in these? Regards, kumar (3 Replies)
Discussion started by: rajeshkumarvg
3 Replies

3. Shell Programming and Scripting

Last two logins script

This is the contents of my file: donald.duck 12/07/2009 12:07:58 donald.duck 12/07/2009 12:17:36 donald.duck 12/07/2009 12:22:29 donald.duck 12/07/2009 12:26:39 donald.duck 12/07/2009 12:28:01 mickey.mouse 12/07/2009 12:48:49 mickey.mouse 12/07/2009 12:49:33 mickey.mouse 12/07/2009... (3 Replies)
Discussion started by: diallo0024
3 Replies

4. UNIX for Dummies Questions & Answers

Number of multiple logins

How can i get the number of multiple logins of the user those are logged in currently... (1 Reply)
Discussion started by: Ramkum
1 Replies

5. AIX

allow / deny root logins

Hello everyone I have to limit the root logins on my aix box (aix 5.3) I change the value on the /etc/security/user default (login and rlogin) change to false and add to root (rlogin and login = false) I tried in different ways but I got the same. Root still can login I try algo... (6 Replies)
Discussion started by: lo-lp-kl
6 Replies

6. Cybersecurity

Problem with limiting logins to one in AIX 5.3

I am migrating from 5.2 to 5.3 AIX. In previous versions of AIX, including 5.2, I've been able to limit user's logins to 1 by using the following script named Block_user: #!/bin/ksh USER=$1 NUM=`who | grep $USER | cut -c1-8 | wc -l` #The above ' is not a single quote but back quote if ]... (2 Replies)
Discussion started by: Confused_lulu
2 Replies

7. AIX

Limit logins to 1

Trying to limit 1 login per account... Setup: We have 2 auth logins, one to the AIX (telnet)then into a distribution mgmt software, the users do not have a shell to log into on the AIX itself, so placing a script such as: active=`who | awk '{printf",%s,\n",$1}' | grep ,$LOGNAME, | wc -l` ... (0 Replies)
Discussion started by: pheusion
0 Replies

8. Shell Programming and Scripting

Logins-logouts

I want a script that checks the logins and logouts in a system.Is there a way to keep the logins and logouts in files and then compare them every e.g. 10 seconds? for tcsh. (1 Reply)
Discussion started by: aekaramg20
1 Replies

9. UNIX for Dummies Questions & Answers

NVT logins

Hello again! Another thing came up the other day. I've noticed that a few of my "beloved" users who by the way, use NVT (Novell Virtual Terminal) to log in the server, when told to log off, press the power button to shut down their computer, instead of logging off as they should. As a result... (2 Replies)
Discussion started by: pappous
2 Replies

10. UNIX for Dummies Questions & Answers

Help with logins

Could someone please tell me what I would have to do so I can dial in to Solaris through a modem and login? Thanks in advance. Jomar (2 Replies)
Discussion started by: crispyco
2 Replies
Login or Register to Ask a Question