📄 rshd.8
字号:
4315(the)S(initial)235 4472 A4741(socket.)S5082(This)S4272 V1440(user)S1633(name)S1876(is)S1968(interpreted)S2430(as)S2539(a)S2609(user)S(identity)307 2802 A3134(to)S3237(use)S3396(on)S3521(the)S10 B3669(server)S10 R3938('s)S4036(machine.)S4440 V1080(7\))S1440(A)S1554(null)S1751(terminated)S2223(command)S2660(to)S2779(be)S2915(passed)S3224(to)S3343(a)S3429(shell)S3661(is)S3770(retrieved)S4171(on)S4313(the)S(initial)235 4478 A4755(socket.)S5104(The)S4560 V1440(length)S1716(of)S1825(the)S1973(command)S2394(is)S2486(limited)S2796(by)S2921(the)S(upper)229 3069 A(bound)250 3323 A3598(on)S3723(the)S3871(size)S4053(of)S4162(the)S4310(system's)S4687(argument)S5092(list.)S4728 V1080(8\))S10 B1440(Rshd)S10 R1704(then)S1917(validates)S2315(the)S2478(user)S(according)397 2686 A3123(to)S3241(the)S3404(following)S3835(steps.)S4126(The)S4323(local)S4559(\(server-end\))S5093(user)S4848 V1440(name)S1687(is)S(looked)273 1783 A2085(up)S2214(in)S2321(the)S2473(password)S2882(\256le)S3040(and)S3214(a)S10 B3288(chdir)S10 R3547(is)S3643(performed)S4092(to)S4199(the)S4351(user's)S4621(home)S4872(directory.)S4968 V1440(If)S1543(either)S1808(the)S(lookup)278 1966 A2279(or)S10 B2398(chdir)S10 R2664(fail,)S2860(the)S(connection)441 3019 A3496(is)S3599(terminated.)S4116(If)S4220(the)S4379(user)S4583(is)S4686(not)S4850(the)S5009(super-)S5088 V1440(user,)S1695(\(user)S1959(id)S2099(0\),)S2270(the)S2455(\256le)S10 B2646(/etc/hosts.equiv)S10 R3366(is)S3495(consulted)S3942(for)S4122(a)S4229(list)S4413(of)S4558(hosts)S4825(considered)S5208 V1440(``equivalent''.)S2074(If)S2171(the)S2323(client's)S2649(host)S2845(name)S3092(is)S3188(present)S3508(in)S3616(this)S3791(\256le,)S3975(the)S4128(authentication)S4728(is)S4825(considered)S5328 V(successful.)439 1440 A1936(If)S2036(the)S(lookup)278 2191 A2501(fails,)S2732(or)S2848(the)S3003(user)S3203(is)S3302(the)S3457(super-user,)S3934(then)S4139(the)S4294(\256le)S10 B4455(.rhosts)S10 R4775(in)S4884(the)S5038(home)S5448 V1440(directory)S1836(of)S1952(the)S2107(remote)S2419(user)S2619(is)S2718(checked)S3081(for)S3232(the)S3388(machine)S3762(name)S4013(and)S(identity)307 4191 A4531(of)S4648(the)S4804(user)S5005(on)S5138(the)S5568 V1440(client's)S1762(machine.)S2178(If)S2271(this)S(lookup)278 2441 A2744(fails,)S2968(the)S(connection)441 3116 A3582(is)S3674(terminated.)S5736 V1080(9\))S1440(A)S1538(null)S1719(byte)S1917(is)S2009(returned)S2370(on)S2495(the)S(initial)235 2643 A2903(socket)S3185(and)S3356(the)S3505(command)S3927(line)S4104(is)S4197(passed)S4491(to)S4595(the)S4744(normal)S5055(login)S5856 V1440(shell)S1655(of)S1764(the)S1912(user.)S2155(The)S2337(shell)S2552(inherits)S2879(the)S3027(network)S(connections)480 3382 A3887(established)S4359(by)S10 I4484(rshd)S10 R4670(.)S6024 V9 R720(D)S722(DI)S790(IA)S823(AG)S891(GN)S959(NO)S1027(OS)S1095(ST)S1147(TI)S1205(IC)S1238(CS)S1300(S)S6144 V10 R1080(Except)S1397(for)S1552(the)S1713(last)S1891(one)S2074(listed)S2330(below,)S2639(all)S(diagnostic)413 2778 A3229(messages)S3647(are)S3809(returned)S4183(on)S4321(the)S(initial)235 4482 A4755(socket,)S5075(after)S6264 V1080(which)S1354(any)S1527(network)S(connections)480 1885 A2393(are)S2545(closed.)S2880(An)S3030(error)S3254(is)S3348(indicated)S3744(by)S3871(a)S3943(leading)S4266(byte)S4466(with)S4672(a)S4744(value)S4989(of)S5100(1)S5177(\(0)S6384 V1080(is)S1184(returned)S1557(in)S1672(step)S1871(9)S(above)240 1958 A(upon)200 2235 A(successful)414 2473 A2925(completion)S3415(of)S3537(all)S3676(the)S3837(steps)S4076(prior)S4310(to)S4426(the)S4587(execution)S5016(of)S5138(the)S6504 V1080(login)S1311(shell\).)S6672 V10 B1080(``locuser)S1481(too)S1640(long'')S6792 V10 R1080(The)S1262(name)S1505(of)S1614(the)S1762(user)S1955(on)S2080(the)S2228(client's)S2550(machine)S2916(is)S(longer)257 3008 A3290(than)S3488(16)S3613(characters.)S6960 V10 B1080(``remuser)S1532(too)S1691(long'')S7080 V10 R1080(The)S1262(name)S1505(of)S1614(the)S1762(user)S1955(on)S2080(the)S2228(remote)S2533(machine)S2899(is)S(longer)257 2991 A3273(than)S3471(16)S3596(characters.)S7248 V10 B1080(``command)S1598(too)S1757(long)S1966('')S7368 V10 R1080(The)S1262(command)S1683(line)S1859(passed)S(exceeds)319 2152 A2496(the)S2644(size)S2826(of)S2935(the)S3083(argument)S3488(list)S3636(\(as)S3779(con\256gured)S4234(into)S4415(the)S4563(system\).)S7903 V720(Page)S941(1)S2669(\()S2711(May)S2920(24,)S(1986)200 3070 A3278(\))S4455(September)S4911(13,)S(1996)200 5061 A8143 VEP%%Page: 2 2BP/slant 0 def/height 0 def480 V10 R720(RSHD)S997(\()S1039(8)S1097(\))S2696(Eighth)S(Edition)296 2989 A4850(RSHD)S5127(\()S5169(8)S5227(\))S960 V10 B1080(``Login)S(incorrect.'')486 1424 A1080 V10 R1080(No)S1228(password)S1633(\256le)S1787(entry)S2019(for)S2162(the)S2310(user)S2503(name)S2746(existed.)S1248 V10 B1080(``No)S1296(remote)S(directory.'')491 1624 A1368 V10 R1080(The)S10 B1262(chdir)S10 R1517(command)S1938(to)S2041(the)S2189(home)S2437(directory)S2826(failed.)S1536 V10 B1080(``Permission)S1649(denied.'')S1656 V10 R1080(The)S1262(authentication)S1857(procedure)S2285(described)S(above)240 2696 A2961(failed.)S1824 V10 B1080(``Can't)S1420(make)S1680(pipe.'')S1944 V10 R1080(The)S1262(pipe)S1460(needed)S1770(for)S1913(the)S10 B(stderr)264 2061 A10 R2325(,)S2375(wasn't)S2669(created.)S2112 V10 B1080(``Try)S(again.'')327 1335 A2232 V10 R1080(A)S10 B1178(fork)S10 R1388(by)S1513(the)S1661(server)S1933(failed.)S2400 V10 B1080(``<shellname>:)S(...'')143 1752 A2520 V10 R1080(The)S1264(user's)S1532(login)S1765(shell)S1982(could)S2232(not)S2387(be)S2510(started.)S2857(This)S3064(message)S3433(is)S3528(returned)S3892(on)S4020(the)S(connection)441 4171 A4640(associated)S5082(with)S2640 V1080(the)S10 B(stderr)264 1228 A10 R1492(,)S1542(and)S1712(is)S1804(not)S(preceded)364 1957 A2346(by)S2471(a)S2541(\257ag)S2717(byte.)S2808 V9 R720(S)S722(SE)S774(EE)S832(E)S928(A)S930(AL)S998(LS)S1056(SO)S1108(O)S2928 V10 B1080(rsh)S10 R1220(\(1\),)S10 B1388(rcmd)S10 R1618(\(3\).)S3096 V9 R720(B)S722(BU)S784(UG)S852(GS)S920(S)S3216 V10 R1080(The)S1262(authentication)S1857(procedure)S2285(used)S2494(here)S2693(assumes)S3053(the)S3201(integrity)S3567(of)S(each)185 3676 A3886(client)S4135(machine)S4501(and)S4671(the)S(connecting)441 4820 A3336 V1080(medium.)S1484(This)S1688(is)S1780(insecure,)S2166(but)S2319(is)S2411(useful)S2682(in)S2785(an)S2905(``open'')S3261(environment.)S3504 V1080(A)S(facility)286 1178 A1489(to)S1592(allow)S1841(all)S1967(data)S2160(exchanges)S2604(to)S2707(be)S2827(encrypted)S(should)267 3249 A3541(be)S3661(present.)S3672 V1080(A)S1178(more)S1410(extensible)S1843(protocol)S(should)267 2203 A2495(be)S2615(used.)S7903 V720(September)S1176(13,)S(1996)200 1326 A2669(\()S2711(May)S2920(24,)S(1986)200 3070 A3278(\))S4990(Page)S5211(2)S8143 VEP%%Trailer%%DocumentFonts: Times-Roman Times-Bold Times-Italic%%Pages: 2
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -