From: Hrvoje Niksic <hniksic@srce.hr>
Subject: Re: AUTHINFO
Date: 14 Feb 1998 20:31:33 +0100 [thread overview]
Message-ID: <kig7m6y0yqy.fsf@jagor.srce.hr> (raw)
In-Reply-To: Jason R Mastaler's message of "14 Feb 1998 12:23:52 -0700"
Jason R Mastaler <jason@4b.org> writes:
> Lars Magne Ingebrigtsen <larsi@gnus.org> writes:
>
> > > I think there already are too many authinfo functions, so it's time to
> > > do something radical: Introduce something that looks like .netrc. It
> > > could be called .authinforc, and it could use syntax like:
> >
> > On the other hand, why not just stick it in .netrc?
>
> What goes in .netrc normally? (I don't have such a file)
FTP authorization data.
netrc(4) File Formats netrc(4)
NAME
netrc - file for ftp remote login data
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 argument. Once a match is
made, the subsequent .netrc tokens are processed, stop-
ping when the EOF is reached or another machine token
is encountered.
login name
Identify a user on the remote machine. If this token
is present, the auto-login process will initiate a
login using the specified name.
password string
Supply a password. If this token is present, the
auto-login process will supply the specified string if
the remote server requires a password as part of the
login process. Note: if this token is present in the
.netrc file, ftp will abort the auto-login process if
the .netrc is readable by anyone besides the user.
account string
Supply an additional account password. If this token
is present, the auto-login process will supply the
specified string if the remote server requires an addi-
tional account password, or the auto-login process will
initiate an ACCT command if it does not.
macdef name
Define a macro. This token functions the same as ftp
macdef. A macro is defined with the specified name;
its contents begin with the next .netrc line and con-
tinue until a null line (consecutive NEWLINE charac-
ters) is encountered. If a macro named init is
defined, it is automatically executed as the last step
in the auto-login process.
EXAMPLES
A .netrc file containing the following line:
machine ray login demo password mypassword
allows an autologin to the machine ray using the login name
demo with password mypassword.
FILES
~/.netrc
SEE ALSO
chmod(1), ftp(1), in.ftpd(1M)
SunOS 5.5.1 Last change: 3 Jul 1990 2
--
Hrvoje Niksic <hniksic@srce.hr> | Student at FER Zagreb, Croatia
--------------------------------+--------------------------------
Speak softly and carry a +6 two-handed sword.
next prev parent reply other threads:[~1998-02-14 19:31 UTC|newest]
Thread overview: 68+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-02-13 18:51 AUTHINFO Lars Magne Ingebrigtsen
1998-02-14 6:55 ` AUTHINFO Jason R Mastaler
1998-02-14 16:01 ` AUTHINFO Lars Magne Ingebrigtsen
1998-02-14 17:03 ` AUTHINFO Lars Magne Ingebrigtsen
1998-02-14 19:23 ` AUTHINFO Jason R Mastaler
1998-02-14 19:31 ` Hrvoje Niksic [this message]
1998-02-14 19:42 ` AUTHINFO Jason R Mastaler
1998-02-14 20:38 ` AUTHINFO Lars Magne Ingebrigtsen
1998-02-14 23:30 ` AUTHINFO Jason R Mastaler
1998-02-15 5:28 ` AUTHINFO Felix Lee
1998-02-15 13:32 ` AUTHINFO Lars Magne Ingebrigtsen
1998-02-15 13:48 ` AUTHINFO Simon Josefsson
1998-02-15 14:49 ` AUTHINFO Lars Magne Ingebrigtsen
1998-02-15 18:15 ` AUTHINFO Simon Josefsson
1998-02-15 22:05 ` AUTHINFO Lars Magne Ingebrigtsen
1998-02-16 10:36 ` AUTHINFO Per Abrahamsen
1998-02-16 10:46 ` AUTHINFO Lars Magne Ingebrigtsen
1998-02-16 11:25 ` AUTHINFO Per Abrahamsen
1998-02-16 18:53 ` AUTHINFO Lars Magne Ingebrigtsen
1998-02-19 2:21 ` AUTHINFO Joev Dubach
1998-02-19 4:55 ` AUTHINFO Lloyd Zusman
1998-02-19 14:16 ` AUTHINFO Lars Magne Ingebrigtsen
1998-02-19 15:26 ` AUTHINFO Edward J. Sabol
1998-02-15 14:32 ` AUTHINFO Hrvoje Niksic
1998-02-15 17:19 ` AUTHINFO Lloyd Zusman
1998-02-15 17:29 ` AUTHINFO Hrvoje Niksic
1998-02-15 19:58 ` AUTHINFO Andy Eskilsson
1998-02-15 22:04 ` AUTHINFO Lars Magne Ingebrigtsen
1998-02-15 19:34 ` AUTHINFO Jason R Mastaler
1998-02-16 8:13 ` AUTHINFO Steinar Bang
1998-02-15 19:23 ` AUTHINFO Jason R Mastaler
1998-02-16 17:16 ` AUTHINFO Justin Sheehy
1998-02-14 19:22 ` AUTHINFO Jason R Mastaler
1998-02-16 16:27 ` feedback on AUTHINFO in qgnus-0.27 Steinar Bang
1998-02-16 18:58 ` Lars Magne Ingebrigtsen
1998-02-17 7:48 ` Steinar Bang
1998-02-17 9:03 ` Steinar Bang
1998-02-18 12:15 ` Lars Magne Ingebrigtsen
1998-02-17 8:41 ` Steinar Bang
1998-02-17 8:49 ` Steinar Bang
1998-02-18 12:19 ` Lars Magne Ingebrigtsen
1998-02-18 16:44 ` Steinar Bang
1998-02-19 15:55 ` Edward J. Sabol
1998-02-20 2:31 ` Lars Magne Ingebrigtsen
1998-02-20 8:16 ` Steinar Bang
1998-02-20 10:36 ` Lars Magne Ingebrigtsen
1998-02-20 14:27 ` Steinar Bang
1998-02-20 21:39 ` Lars Magne Ingebrigtsen
1998-02-20 22:34 ` Aaron M. Ucko
1998-02-20 21:28 ` Edward J. Sabol
1998-02-20 23:10 ` Lars Magne Ingebrigtsen
1998-02-20 23:26 ` Edward J. Sabol
1998-02-21 0:14 ` Lars Magne Ingebrigtsen
1998-02-23 18:06 ` Edward J. Sabol
1998-02-27 11:56 ` Lars Magne Ingebrigtsen
1998-02-27 15:58 ` Edward J. Sabol
1998-02-28 5:45 ` Lars Magne Ingebrigtsen
1998-03-04 19:38 ` Hallvard B Furuseth
1998-02-28 4:27 ` Jason R Mastaler
1998-02-28 5:48 ` Lars Magne Ingebrigtsen
-- strict thread matches above, loose matches on Subject: below --
1998-02-03 16:09 Authinfo Andy Eskilsson
1998-02-08 15:55 ` Authinfo Lars Magne Ingebrigtsen
1998-02-08 16:56 ` Authinfo Steinar Bang
1998-02-08 17:24 ` Authinfo Lars Magne Ingebrigtsen
1998-02-09 17:40 ` Authinfo Steinar Bang
1997-05-04 10:55 authinfo Rolf Marvin B|e Lindgren
1997-05-04 20:06 ` authinfo Hrvoje Nikšić
1997-05-05 6:49 ` authinfo Steinar Bang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=kig7m6y0yqy.fsf@jagor.srce.hr \
--to=hniksic@srce.hr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).