$ pmwho tea mochajava |grep " lusername "|cut -b0-2
S7
will give you the port(s) the user is using on portmasters by the name of
tea and mochajava.
I am not versed in portmaster commands from the unix prompt, (I usually
telnet in) but something to the effect of:
bootluser `pmwho tea mochajava |grep " lusername "|cut -b0-2`
would be equivalent to typing
bootluser S7
Take it from there.
-- /* Jason Philbrook | Midcoast Internet Solutions jp@midcoast.com | Internet Access, LAN, WAN, and Linux www.midcoast.com/jp/ | Service and Consulting for Midcoast Maine */