1 # Copyright 2000, International Business Machines Corporation and others.
4 # This software has been released under the terms of the IBM Public
5 # License. For details, see the LICENSE file in the top-level source
6 # directory or online at http://www.openafs.org/dl/license10.html
8 # An InstallGuide for AFS login
9 # For IBM RS/6000 systems running AIX 4.x
13 &Copy ("root.client/usr/vice/etc/afs_dynamic_auth", "/usr/vice/etc");
14 &Copy ("root.client/usr/vice/etc/afs_dynamic_kerbauth", "/usr/vice/etc");
16 $File1="/etc/security/user";
17 $File2="/etc/security/login.cfg";
18 &Patch::Verbose if ($InstallVerbose);
19 &Patch::FileOpen($File1);
20 &Patch::FileOpen($File2);
22 $Search = << "xxENDxx";
29 SYSTEM = "AFS OR (AFS[UNAVAIL] OR compat[SUCCESS])"
33 $Search1 = << "xxENDxx";
48 account_locked = false
52 $Search3 = << "xxENDxx";
61 account_locked = false
64 if (!&Patch::Patch($File1, [[0, "Replace", $Search, $New],
65 [0, "Replace", $Search1, $New1],
66 [0, "EOF", "", $New2],
67 [0, "Replace", $Search3, $New3]])) {
68 &VPrint("Did not succeed in patching $File1");
73 program = /usr/vice/etc/afs_dynamic_auth
76 program = /usr/vice/etc/afs_dynamic_auth
82 if (!&Patch::Patch($File2, [[0, "EOF", "", $New]])) {
83 &VPrint("Did not succeed in patching $File2");