The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Problem with limiting logins to one in AIX 5.3 Confused_lulu Security 2 05-01-2007 10:38 AM
Limit logins to 1 pheusion AIX 0 08-11-2006 08:23 AM
Logins-logouts aekaramg20 Shell Programming and Scripting 1 07-22-2006 04:38 AM
NVT logins pappous UNIX for Dummies Questions & Answers 2 03-15-2001 07:26 PM
Help with logins crispyco UNIX for Dummies Questions & Answers 2 01-22-2001 08:03 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-02-2004
seg seg is offline
Registered User
 

Join Date: Aug 2003
Posts: 87
Stumble this Post!
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 11:24 AM.
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 12-02-2004
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,443
Stumble this Post!
Don't change stuff in /dev.

Old threads:

past login still exist in the system
kill the tty
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 05:06 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0