⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rhosts.5

📁 <B>Digital的Unix操作系统VAX 4.2源码</B>
💻 5
字号:
./" new page for v4.0./" DRI : Sue Y../" Writer : Nolan Ring.TH rhosts 5.SH Namerhosts \- list of hosts that are logically equivalent to the local host.SH Syntax.B /$HOME/\&.rhosts.SH Description.NXR "rhosts file=>\\&.rhosts file" The.PN "\&.rhosts"file allows a user who has an account on the local host to login from a remote host without supplying a password.  It also allowsremote copies to the local host..PPIf the .PN "\&.rhosts"file exists, it is located in a user's home directory.It is not a mandatory file, however..PPThe format of a.PN "\&.rhosts"file entry is:.EX\fIhostname\fR [\fIusername\fR].EEThe \fIhostname\fP is the name of the remote host from which the userwants to log into the local host.  The \fIusername\fP is the user's login nameon the remote host.  If you do not specifya user name, the user must have the same login name on both theremote and local hosts..PPThe host names listed in the.PN "\&.rhosts"file may optionally contain the local BIND domain name.  For more information on BIND, see the .I Guide to the BIND/Hesiod Service..PPIf a user.PN ginger is logged in to.PN host1 ,and wants to log in toa host called.PN machine1without supplying a password, she must:.IP \(bu 5Have an account on .PN machine1.IP \(bu 5Create a .PN "\&.rhosts"file in her home directory on .PN machine1.IP \(bu 5Specify \f(CBhost1 ginger\fP as an entry in the.PN "\&.rhosts"file..sp 6pIf .PN gingerhas the same login on both .PN host1and .PN machine1 ,she can simply specify \f(CBhost1\fR in her .PN "\&.rhosts" entry..NT.NXR(n) "rhosts file=>\\&.rhosts file" "remote system superuser and"You can allow the superuser of a remote system to log in to yoursystem without password protection or perform a remote copy by having a.PN "\&.rhosts"file in the root ( \fB/\fR ) directory, but it is not recommended..sp 6pIn addition to having a.PN "\&.rhosts"file, the superuser needs a.PN secureterminal entry in the.PN /etc/ttysfile for each pseudoterminal configured in the system.The secure entry looks similar to the following:.EXttyp3      none    network         secure.EESee the.MS ttys 5reference page for more information..NE.NXA "rhosts file=>\\&.rhosts file" "hosts.equiv file".SH ExamplesThe following is a sample .PN "\&.rhosts"file for the user .PN ginger .It is located in her home directory on.PN host1 .She also has accounts on the hosts called.PN machine1 ,.PN system1 ,and.PN host3 .Her login name on .PN machine1and .PN host3 is the same as on .PN host1,but her login on .PN system1 is .PN gordon . .PPTo enable .PN ginger to log in to .PN host1from.PN machine1 ,.PN system1 ,and.PN host3without supplying a password, her .PN "\&.rhosts"on .PN host1should contain the following entries:.EXmachine1system1  gordonhost3.EE.SH See Alsohosts.equiv(5), ttys(5).br.I "Introduction to Networking and Distributed System Services"

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -