Re: disconnecting a user
Do a who command on them to get their tty and use the fuser command:
fuser -k /dev/ttyp?
On Wed, 24 Dec 1997, Will Lowe wrote:
> On Tue, 23 Dec 1997, Aaron Walker wrote:
>
> > How would I go about disconnecting a remote user from my machine? Thanks
> > in advance.
> Figure out which shell process he's running, and kill it. That oughta
> work.
>
> > Also... I want to install Apache. Where is the best place to intall
> > this? Thanks again.
> The debian package will install itself ok. The only thing you might want
> to modify is the location of the web home directory, which you can change
> by answering questions when you install the package. I think the
> recommeneded directory was /var/www, but I think I put mine under
> /home/www because I had a lot of space on my /home partition.
>
>
> Will
>
>
> --------------------------------------------------------------------------
> | harpo@udel.edu lowe@cis.udel.edu lowe@debian.org |
> | http://www.cis.udel.edu/~lowe/ |
> --------------------------------------------------------------------------
> |The problem with computers: |
> | |
> | rivendell[501] [~]> love me |
> | bash: love: command not found |
> | rivendell[502] [~]> hug me |
> | bash: hug: command not found |
> --------------------------------------------------------------------------
>
>
> --
> TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
> debian-user-request@lists.debian.org .
> Trouble? e-mail to templin@bucknell.edu .
>
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
E-Mail: azcappy@psychobabble.dyn.ml.org
http://psychobabble.dyn.ml.org
ICQ: #5386440
__ _
/ / (_)__ __ ____ __
/ /__/ / _ \/ // /\ \/ / . . . t h e c h o i c e o f a
/____/_/_//_/\_,_/ /_/\_\ G N U g e n e r a t i o n . . .
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org .
Trouble? e-mail to templin@bucknell.edu .
Reply to: