Page 1 of 1

Looking for a command to log a user off

Posted: Tue Dec 06, 2011 9:07 am
by RickC
Hi,

I cannot find a command to log off a user, does one exist? I initially thought ommodu -K would, but it doesn't kick the user off.

Thanks,

Rick

Re: Looking for a command to log a user off

Posted: Tue Dec 06, 2011 6:21 pm
by axslingr
I always just use:

Code: Select all

omstat -u all


Then just kill the process(es) associated with the user.

Lance

Re: Looking for a command to log a user off

Posted: Wed Dec 07, 2011 6:48 am
by florian
yup, best way. probably makes sense to lock the account beforehand using ommodu, as many clients tend to reconnect very quickly.

-- F

Re: Looking for a command to log a user off

Posted: Wed Dec 07, 2011 8:06 am
by RickC
Thanks guys!

Re: Looking for a command to log a user off

Posted: Wed Dec 07, 2011 8:47 am
by ls-al
The script http://downloads.it25.de/scripts/cache/sx_clearimap would just need fewer lines to do this.