They usually connect via "green screen" dumb
terminals.  Although I wish I knew the system inside
in out it's usually handled by someone else...  The
kill telnetd is a good idea, but I don't think it
would work in this case.  Thanks anyway, and let me
know if some other idea hits you.

> -----Original Message-----
> From: Tony S. Sykes
[mailto:[EMAIL PROTECTED] 
> Sent: Friday, July 08, 2005 7:14 AM
> To: [email protected]
> Subject: RE: [newbie] How to disconnect users -
force from console?
> 
> 
> If you grep for pts.45 for example that should give
all the 
> processes for that pts. If killing off the -ksh is
not doing 
> it there seems to be something more to this. How are
they 
> connecting to the server, what software are they
using? If 
> they are just telneting in then killing of the -ksh
should 
> kill their telnet session but if not a bit of
detective work 
> is needed for this. First find the time they logged
in, then 
> `ps -aef | grep telnetd` and find the telnet with
the time of 
> them logging in and kill that as well.
> 
> Tony.
> 
> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] Behalf Of
Tango Echo
> Sent: 08 July 2005 11:57
> To: [email protected]
> Subject: RE: [newbie] How to disconnect users -
force from console?
> 
> 
> Either I'm doing something wrong, or this version of
> AIX is completely different.  I have tried killing
off
> their shell process (ksh) as well as all other
related 
> processes.  However, even though the user has no
owned 
> processes, it is still listed as logged on.  I'm
stumped now! 
>  Is there perhaps a command that disconnects by
their tty 
> such as pts/x?
> 
> 
> > -----Original Message-----
> > From: Tony S. Sykes
> [mailto:[EMAIL PROTECTED] 
> > Sent: Thursday, July 07, 2005 10:21 AM
> > To: [email protected]
> > Subject: RE: [newbie] How to disconnect users -
> force from console?
> > 
> > 
> > Mikkel is correct, killing off their shell session
> will kill 
> > them off. I have to do it all the time on unix
> systems for my 
> > customers who do not bother to teach their users
the
> correct 
> > way of logging out. This works for all unix
systems
> I admin 
> > for which includes aix, true64, the dreaded sco
and
> more.
> > 
> > Tony.
> > 
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] Behalf
Of
> Mikkel L. 
> > Ellertson
> > Sent: 06 July 2005 19:00
> > To: [email protected]
> > Subject: Re: [newbie] How to disconnect users -
> force from console?
> > 
> > 
> > Tango Echo wrote:
> > > Hey everyone,
> > > 
> > > This would probably be more appropriate for a
UNIX
> > > mailing list since that's what I'm dealing with
> here.
> > > However, I believe it still applies to Linux, so
> I'm
> > > hopeful!
> > > 
> > > My question is this:  How can I disconnect
> particular
> > > users by force?  We have an AIX UNIX box that
> > > sometimes has a user that will hang. Next the
user
> > > will try to logon again.  When they try to
logon,
> they
> > > can't get a connection.  When I do a 'who' from
> the
> > > console it appears that they are still logged
into
> the 
> > server.  If I
> > > do a 'kill' on all their processes, they are
still
> shown to 
> > be logged
> > > into the server with 'who'.  The only way that
> seems to work is to 
> > > reboot the server.
> > > 
> > > Any ideas here?
> > > 
> > I am not sure about AIX, but under Linux, if you
> kill their 
> > login shell, it will log them off. This is because
> exiting 
> > the login shell is the normal way of logging out,
so
> killing 
> > it has the same affect. If they are logged in
using
> X, then 
> > you have to kill the desktop, or the X server.
> > 
> > Mikkel
> > --
> > 
> >   Do not meddle in the affairs of dragons,
> > for thou art crunchy and taste good with Ketchup!
> > 
> > 


                
____________________________________________________
Sell on Yahoo! Auctions – no fees. Bid on great items.  
http://auctions.yahoo.com/

____________________________________________________
Want to buy your Pack or Services from Mandriva? 
Go to http://store.mandriva.com
Join the Club : http://www.mandrivaclub.com
____________________________________________________

Reply via email to