<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> <html> <head> <title>acua_logout [-k]</title> </head> <body background=back.gif bgcolor=White link=Blue vlink=Black alink=Black> <h1>acua_logout [login]</h1> <b>acua_logout</b> allows a way to tell <b>ACUA</b> that a user has logged out so that they can immediately be marked as offline. If <b>acua_logout</b> is not called, the user will be automatically marked as offline by <a href="acua_updated.html">acua_updated</a> in less than one minute. <b>acua_logout</b> should be (but doesn't have to be) executed when a user logs out.<br> <ul> <b>-k</b> - don't kick the user off (only root can give this switch).<br> </ul> In the case of a PPP login, <b>acua_logout</b> should be called from the <b>ip-down</b> script, and it should be passed the '-k' switch. The procedure is very similar to the procedure for <a href="acua_login.html">acua_login</a>: <ul> if [ "$6" != "1" ]; then <ul> /usr/sbin/<b>acua_logout</b> -k < $2 </ul> fi </ul> In the case of a Z-shell login, <b>acua_logout</b> could be called from <b>/etc/zlogout</b> thusly:<br> <ul> <b>acua_logout</b> </ul> <br> <hr size=5> <address><a href="mailto:acua@acua.ebbs.com.au">Robert Davidson</a></address> </body> </html>