[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] RaQ3i: Admins witch are "still logged in"
- Subject: Re: [cobalt-users] RaQ3i: Admins witch are "still logged in"
- From: "Ing. Ernesto Pérez Estévez" <ernesto@xxxxxxxxxxx>
- Date: Thu Apr 5 04:20:47 2001
- Organization: Agilweb - Cuenca - Ecuador
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
What I do is to kill the bash process of every user. Usually kill -10
<bashPID>
Sometimes it's necesary to kill -9
but it works.
The second option, is to install autolog. Look for autolog on the net.
It's very simple to install and very useful.
Urs Weiss - Asenis wrote:
>
> After i had some broken connections (most with ssh) i found some admin users
> witch are "still logged in" ==> see below.
>
> [root@www admin]# who
> admin pts/0 Apr 3 15:32 (gw.domain.ch)
> admin pts/1 Apr 5 15:55 (gw.domain.ch)
> admin pts/3 Apr 5 11:06 (gw.domain.ch)
> admin pts/4 Mar 16 10:32 (gw.domain.ch)
> admin pts/5 Apr 5 13:46 (gw.domain.ch)
>
> [root@www admin]# last -25
> admin pts/1 123.456.78.90 Thu Apr 5 15:55 still logged in
> ...
> admin pts/5 123.456.78.90 Thu Apr 5 13:46 still logged in
> admin pts/3 123.456.78.90 Thu Apr 5 11:06 still logged in
> ...
> admin pts/0 123.456.78.90 Tue Apr 3 15:32 still logged in
> ...
>
> I tried to see his PID's to kill them:
> [root@www admin]# ps -u admin
> unrecognized option or trailing garbage
> usage: ps -acehjlnrsSuvwx{t<tty>|#|O[-]u[-]U..} \
> --sort:[-]key1,[-]key2,...
> --help gives you this message
> --version prints version information
>
> When i use the same command with root, it works:
> [root@www admin]# ps -u root
> USER PID %CPU %MEM SIZE RSS TTY STAT START TIME COMMAND
> No processes available.
>
> [root@www admin]# ps --version
> procps version 1.01
>
> Somone knows what kind of problem it could be? Or an other way to kill the
> "still logged in"-users.
>
> Thanks for you help
> Urs Weiss
>
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To Subscribe or Unsubscribe, please go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users