source: trunk/athena/bin/attach/fsid.1 @ 6264

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