[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] RaQ3i: Admins witch are "still logged in"



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