标题: [SOLARIS] what is the usage of .netrc file? [打印本页] 作者: netbanker 时间: 2002-06-24 07:05 标题: [SOLARIS] what is the usage of .netrc file? and how to use it?
thx~作者: 悟人 时间: 2002-06-24 11:28 标题: this is from the man pages DESCRIPTION
The .netrc file contains data for logging in to a remote
host over the network for file transfers by ftp(1). This
file resides in the user\'s home directory on the machine
initiating the file transfer. Its permissions should be set
to disallow read access by group and others (see chmod(1)).
The following tokens are recognized; they may be separated
by SPACE, TAB, or NEWLINE characters:
machine name
Identify a remote machine name. The auto-login
process searches the .netrc file for a machine
token that matches the remote machine specified on
the ftp command line or as an open command argu-
ment. Once a match is made, the subsequent .netrc
应该是一个自动login的信任文件作者: netbanker 时间: 2002-06-24 12:43 标题: thx I will look through~作者: hlj 时间: 2002-06-26 08:05 标题: Yes,I agree You can use this file to config autologin about ftp,etc.
You must write your account and password in this file.