Debian Codegraph @

rfc399.html

raw
1 <pre>RFC #399 Mark Krilanovich
2 NIC #11917 UCSB
3 Updates: <a href="./rfc122">122</a> Sept. 26, 1972
4
5 <span class="h1">SMFS Login and Logout</span>
6
7 Two new commands have been added to UCSB's Simple Minded
8 File System (SMFS). They are described below.
9
10
11 Login (LGI)
12 The login command is the means whereby the user
13 identifies himself and specifies the account number to which his
14 use of SMFS is to be billed. The user should issue a LGI command
15 directly after completing the ICP and before any command
16 referencing a file. The user name and account number specified
17 remain in effect until another LGI command is issued, a LGO
18 command is issued, or the connection is closed.
19
20 At present, the use of SMFS is not billed, and therefore
21 use of the accounting commands is optional. It is requested,
22 however, that users and user processes begin to use this command
23 as soon as possible, since we would like to collect statistics on
24 SMFS utilization before implementing billing. Therefore, at
25 present the user name can be any name that identfies the user,
26 and the account number is completely arbitrary.
27
28 The format of the LGI command is given below. Note that
29 the lengths of the fixed-length fields are given in bits. The op
30 code for LGI is decimal 13.
31
32 8
33 &lt;op code&gt;&lt;user name&gt;&lt;account number&gt;
34
35 The &lt;user name&gt; and &lt;account number&gt; fields are further divided
36 as follows:
37
38 8 8*length
39 &lt;length&gt;&lt;user name&gt;
40
41 where &lt;length&gt; gives the length in 8-bit characters of the &lt;user
42 name&gt; or &lt;account number&gt; subfield. The maximum length of &lt;user
43 name&gt; is eight characters and of &lt;account number&gt; is four
44
45
46
47
48
49
50
51
52 <span class="grey"> [Page 1]</span></pre>
53 <hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-2" ></span>
54 <span class="grey">NWG/RFC# 399 MCK 26-SEP-72 15:15 11917</span>
55 SMFS Login and Logout
56
57
58 characters. The &lt;user name&gt; and &lt;account number&gt; fields must
59 consist of characters chosen from the same character set as
60 filenames.
61
62
63 Logout (LGO)
64 The logout command terminates the association between the
65 user and the accounting information specified in the last LGI
66 command issued, if any; it does not cause SMFS to close the
67 connection. The user should then issue another LGI command
68 before attempting any operation referencing a file. It is not
69 necessary to issue a LGO command before issuing another LGI
70 command, or before closing the connection.
71
72 Again, at the present time the LGO command is optional,
73 and does not affect the user's ability to reference files.
74
75 The format of the LGO command is as follows:
76
77 8
78 &lt;op code&gt;
79
80 The op code for LGO is decimal 14.
81
82
83
84
85
86
87
88 [ This RFC was put into machine readable form for entry ]
89 [ into the online RFC archives by BBN Corp. under the ]
90 [ direction of Alex McKenzie. 1/97 ]
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105 [Page 2]
106 </pre>