From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/14030 Path: main.gmane.org!not-for-mail From: Hrvoje Niksic Newsgroups: gmane.emacs.gnus.general Subject: Re: AUTHINFO Date: 14 Feb 1998 20:31:33 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035153289 12494 80.91.224.250 (20 Oct 2002 22:34:49 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 22:34:49 +0000 (UTC) Return-Path: Original-Received: from xemacs.org (xemacs.cs.uiuc.edu [128.174.252.16]) by altair.xemacs.org (8.8.8/8.8.8) with ESMTP id LAA26380 for ; Sat, 14 Feb 1998 11:35:31 -0800 Original-Received: from gizmo.hpc.uh.edu (gizmo.hpc.uh.edu [129.7.102.31]) by xemacs.org (8.8.5/8.8.5) with ESMTP id NAA14395 for ; Sat, 14 Feb 1998 13:34:03 -0600 (CST) Original-Received: from sina.hpc.uh.edu (sina.hpc.uh.edu [129.7.3.5]) by gizmo.hpc.uh.edu (8.7.6/8.7.3) with ESMTP id OAN26990; Sat, 14 Feb 1998 14:10:12 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sat, 14 Feb 1998 13:31:53 -0600 (CST) Original-Received: from claymore.vcinet.com (claymore.vcinet.com [208.205.12.23]) by sina.hpc.uh.edu (8.7.3/8.7.3) with SMTP id NAA00688 for ; Sat, 14 Feb 1998 13:31:45 -0600 (CST) Original-Received: (qmail 22181 invoked by uid 504); 14 Feb 1998 19:31:41 -0000 Original-Received: (qmail 22178 invoked from network); 14 Feb 1998 19:31:40 -0000 Original-Received: from jagor.srce.hr (hniksic@161.53.2.130) by claymore.vcinet.com with SMTP; 14 Feb 1998 19:31:40 -0000 Original-Received: (from hniksic@localhost) by jagor.srce.hr (8.8.8/8.8.8) id UAA12689; Sat, 14 Feb 1998 20:31:33 +0100 (MET) Original-To: ding@gnus.org X-Attribution: Hrvoje X-Face: Mie8:rOV<\c/~z{s.X4A{!?vY7{drJ([U]0O=W/xDi&N7XG KV^$k0m3Oe/)'e%3=$PCR&3ITUXH,cK>]bci&Ff%x_>1`T(+M2Gg/fgndU%k*ft [(7._6e0n-V%|%'[c|q:;}td$#INd+;?!-V=c8Pqf}3J In-Reply-To: Jason R Mastaler's message of "14 Feb 1998 12:23:52 -0700" Original-Lines: 87 X-Mailer: Quassia Gnus v0.23/XEmacs 20.5(beta21) - "Golden Guernsey" Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:14030 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:14030 Jason R Mastaler writes: > Lars Magne Ingebrigtsen 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 | Student at FER Zagreb, Croatia --------------------------------+-------------------------------- Speak softly and carry a +6 two-handed sword.