source: trunk/athena/bin/attach/nfsid.1 @ 3886

Revision 3886, 4.6 KB checked in by probe, 34 years ago (diff)
Fixed apropos entry
Line 
1.\"     $Source: /afs/dev.mit.edu/source/repository/athena/bin/attach/nfsid.1,v $
2.\"     $Header: /afs/dev.mit.edu/source/repository/athena/bin/attach/nfsid.1,v 1.3 1990-11-30 17:12:32 probe Exp $
3.\"     $Author: probe $
4.\"
5.TH NFSID 1 "25 March 1988"
6.ds ]W MIT Project Athena
7.SH NAME
8fsid, nfsid \- Perform authorization functions to remote file servers
9.SH SYNOPSIS
10.nf
11fsid [ [ options ] [-f filesystem ...] [host ...] ] ...
12nfsid [ [ options ] [-f filesystem ...] [host ...] ] ...
13.fi
14.SH DESCRIPTION
15
16\fINfsid\fR is a system program which presents your credentials to an
17NFS server by the use of Kerberos authentication, allowing your
18workstation to access files on the server.  Within Athena, the default
19permissions for a client workstation attempting to access an NFS
20filesystem are those of the user "nobody", meaning that a program
21running on the workstation ordinarily would not be allowed to modify
22any files on the NFS server.  \fINfsid\fR sends a Kerberos
23authentication ticket over to the server which records an association
24between a workstation's IP address and the user's userid.
25
26.PP
27The following arguments to \fInfsid\fR modify its default behavior.
28All arguments are processed \fIin order\fR.  Thus, if a -u option is
29followed by a -m option, the -m option will take precedence.
30
31.IP -map\ or\ -m
32Set the mapping function to "map user".  This is the default, and is
33used to establish a mapping to a server.  It requires that the user be
34authenticated.
35.IP -unmap\ or\ -u
36Set the mapping function to "unmap user".  This is used to remove a
37mapping from a server.
38.IP -purge\ or\ -p
39Set the mapping function to "purge host".  This is used to remove all
40mappings associated with the user's host.
41.IP -purgeuser\ or\ -r
42Set the mapping function to "purge user".  This is used to remove all
43mappings associated with the user on the host.  It requires that the
44user be authenticated.
45.IP -verbose\ or\ -v
46Display verbose information about the mapping operation.  This is the
47default.
48.IP -quiet\ or\ -q
49Don't display verbose information.
50.IP -debug\ or\ -d
51Print debugging information.  This will not normally be useful to users.
52.IP -all\ or\ -a
53Perform the current mapping operation for all hosts associated with
54filesystems in /usr/tmp/attachtab (see \fIattach(1)\fR).  Note that a host
55may be referenced more than once if more than once filesystem is
56located on that host.
57.IP -filsys\ or\ -f
58Perform the current mapping operation for the servers associated with
59the indicated filesystems.  The filesystems are retrieved from
60/usr/tmp/attachtab.
61
62.PP
63If the -f option is not specified, \fInfsid\fR takes a list of hosts
64(either names or internet addresses) as arguments and performs the
65specified mapping function.  If -f is specified, it takes a list of
66filesystem names instead and uses /usr/tmp/attachtab to retrieve the
67server associated with each filesystem.
68
69.SH EXAMPLES
70
71.nf
72nfsid -m CHARON.MIT.EDU -u -f x11
73.fi
74
75Establish a mapping for the user on the host CHARON.MIT.EDU and
76delete a mapping for the user on the host the holds the x11 filesystem.
77
78.nf
79nfsid -q -p -a
80.fi
81
82Purge the host's mappings on all servers that have filesystems mounted
83on the host, but don't display a message after each host is purged.
84
85.SH DIAGNOSTICS
86
87If \fInfsid\fR is executed with only a single filesystem or host
88argument, the exit status will be one of the following:
89.TP 5
900
91No error encountered.
92.TP 5
931
94Bad arguments.
95.TP 5
963
97Internal fatal error.
98.TP 5
9910
100Keberos failure.
101.TP 5
10211
103Host communication failure.
104.TP 5
10512
106Authentication failure.
107.TP 5
10813
109No reserved ports available.
110.TP 5
11120
112A filesystem specified with -f was not attached.
113.TP 5
11421
115A hostname couldn't be resolved.
116.PP
117If more than one filesystem argument is specified, the exit status can
118be either 0, 1, or 3 as listed above, or:
119.TP 5
1202
121Something went wrong with one of the hosts or filesystems.
122.PP
123If an error is encountered while manipulating one filesystem in the
124list, \fInfsid\fR continues with the other filesystems and returns
125the exit status 2 after attempting to map or unmap all the other
126filesystems.
127
128.SH NOTE
129The programs \fIattach(1)\fR, \fIdetach(1)\fR, \fInfsid(1)\fR, and
130\fIzinit(8)\fR are all really the same program.  Typically
131\fIdetach(1)\fR, \fInfsid(1)\fR and \fIzinit(8)\fR are links to
132\fIattach\fR.  Argv[0] is used to determine which one of the four
133programs are run.  This may be overridden by specifying -P
134\fIprogname\fR, where \fIprogname\fR should be one of the above four
135program names.
136
137.SH FILES
138
139/usr/tmp/attachtab
140
141.SH "SEE ALSO"
142
143\fIattach(1)\fR
144.br
145\fIKerberosintro(3)\fR
146
147.SH AUTHOR
148Robert French, Project Athena
149.br
150Copyright 1988, Massachusetts Institute of Technology
151
152.SH BUGS
Note: See TracBrowser for help on using the repository browser.