1 | .TH REACTIVATE 8 "25 May 1994" |
---|
2 | .FM mit |
---|
3 | .SH NAME |
---|
4 | reactivate \- reset the state of an idle workstation |
---|
5 | .SH SYNOPSIS |
---|
6 | .B /etc/athena/reactivate |
---|
7 | [ |
---|
8 | .B \-detach | \-prelogin |
---|
9 | ] |
---|
10 | .SH DESCRIPTION |
---|
11 | The |
---|
12 | .I xlogin(8) |
---|
13 | program uses the |
---|
14 | .I reactivate |
---|
15 | script to both initialize the workstation for users and to reset the |
---|
16 | state after a user has logged out. It should only be run when no one |
---|
17 | is logged in, or to ensure that noone is logged in. |
---|
18 | |
---|
19 | The |
---|
20 | .I reactivate |
---|
21 | script performs several tasks: |
---|
22 | .TP |
---|
23 | * It flushes all filesystem authentication from the workstation. |
---|
24 | .TP |
---|
25 | * It resets the zephyr hostmanager (\fIzhm\fR). |
---|
26 | .TP |
---|
27 | * It destroys any ticket files remaining in /tmp. |
---|
28 | .TP |
---|
29 | + It cleans out /tmp. |
---|
30 | .TP |
---|
31 | * It resets the password and group files to their default |
---|
32 | contents. |
---|
33 | .TP |
---|
34 | + It reconfigures some AFS state (including running config_afs). |
---|
35 | .TP |
---|
36 | * It runs cleanup. |
---|
37 | .TP |
---|
38 | + It detaches all attached filesystems. |
---|
39 | .TP |
---|
40 | + It attaches the appropriate system packs. |
---|
41 | .TP |
---|
42 | + It invokes an automatic software update if available. |
---|
43 | .TP |
---|
44 | * It turns off remote network access to the workstation, |
---|
45 | preventing unexpected and possibly hostile remote connections. |
---|
46 | After logging in, you can use the |
---|
47 | .I access_on |
---|
48 | command to allow remote access. |
---|
49 | .TP |
---|
50 | + It executes the local customizations in the file |
---|
51 | .I /etc/athena/reactivate.local, |
---|
52 | if it exists. |
---|
53 | .PP |
---|
54 | .SH OPTIONS |
---|
55 | .TP |
---|
56 | .B \-detach |
---|
57 | causes |
---|
58 | .I reactivate |
---|
59 | to detach all attached filesystems. This is not |
---|
60 | done on every invocation to cut down on the network traffic from idle |
---|
61 | workstations. |
---|
62 | .TP |
---|
63 | .B \-prelogin |
---|
64 | causes |
---|
65 | .I reactivate |
---|
66 | to perform only the *'d tasks listed above, and only |
---|
67 | if PUBLIC is set to true on the workstation. If PUBLIC is false, |
---|
68 | .I reactivate |
---|
69 | will simply exit. The purpose of this option is to provide |
---|
70 | .I xlogin |
---|
71 | a facility for making sure a PUBLIC workstation is as clean as it |
---|
72 | ought to be before a new user logs in. Specifically, this means making |
---|
73 | sure that no other users are logged on or have running processes, and |
---|
74 | that remote access is turned off. A full invocation of the script |
---|
75 | isn't used for this purpose in order to minimize time a user has to |
---|
76 | wait to log in after the previous user has logged out. |
---|
77 | |
---|
78 | In the absence of this option, |
---|
79 | .I reactivate |
---|
80 | performs all listed tasks. |
---|
81 | .B \-prelogin |
---|
82 | and |
---|
83 | .B \-detach |
---|
84 | may not be specified simultaneously. |
---|
85 | |
---|
86 | .SH FILES |
---|
87 | .DT |
---|
88 | .nf |
---|
89 | /var/athena/clusterinfo These files contain the information |
---|
90 | /var/athena/clusterinfo.bsh received from the nameserver. |
---|
91 | /etc/athena/rc.conf Contains configuration variables |
---|
92 | /etc/passwd.local Default contents of password file |
---|
93 | /etc/group.local Default contents of group file |
---|
94 | /etc/athena/reactivate.local Optional local additions |
---|
95 | .fi |
---|
96 | .SH SEE ALSO |
---|
97 | dm(8), xlogin(8), save_cluster_info(8), access_on(1) and access_off(1), |
---|
98 | attach(1) and detach(1), fsid(1), hesiod(3), zhm(8) |
---|