Sophie

Sophie

distrib > Mandriva > 9.1 > i586 > by-pkgid > d1e507ceb705c9c00262d2e9c7e0e795 > files > 58

acua-3.03-4mdk.i586.rpm

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
<title>acua_login</title>
</head>
<body background=back.gif bgcolor=White link=Blue vlink=Black alink=Black>
<h1>acua_login [login]</h1>
<b>acua_login</b> authorizes a user login, and initializes fields in their <b>ACUA</b> user record.  It <b>must</b> be called whenever a user logs in or I can guarantee you will not like the results.  You should put the following line in the system-wide startup script (e.g. <b>/etc/zlogin</b> (Z-shell -- my personal favorite) or <b>/etc/profile</b> (bash -- the "bourne again" shell)):
<ul>
<b>acua_login</b> || logout<br>
</ul>
If you are using mgetty's <b><i>AutoPPP</i></b> feature, you will want to put the following into your <b>ip-up</b> script:<br>
<ul>
if [ "$6" != "1" ]; then
<ul>
/usr/sbin/<b>acua_login</b> &lt; $2 || {<br>
  <ul>
  kill -9 $PPID<br>
  exit<br>
  </ul>
}<br>
</ul>
fi
</ul>
<b>NOTE:</b> When a user starts PPP manually from the shell and <b>acua_login</b> has already been called, the arguments "ipparam 1" should be passed into pppd in order to prevent <b>acua_login</b> from being called a second time.<br>
<br>
<br>
<hr size=5>
<address><a href="mailto:acua@acua.ebbs.com.au">Robert Davidson</a></address>
</body>
</html>