PASSWD.NNTP(5) InterNetNews Documentation PASSWD.NNTP(5)NAME
passwd.nntp - Passwords for connecting to remote NNTP servers
DESCRIPTION
The file pathetc/passwd.nntp contains host / name / password triplets for use when authenticating client programs to NNTP servers. This
file is normally interpreted by NNTPsendpassword() in libinn(3). Blank lines and lines beginning with a number sign ("#") are ignored.
All other lines should consist of three or four fields separated by colons:
host:name:password
host:name:password:style
The first field is the name of a host, and is matched in a case-insensitive manner. (No detailed matching, such as comparing IP addresses,
is done.)
The second field is a user name, and the third is a password. If either the username or password is empty, then that portion of the
authentication will not occur. (For example, a server may require only a username, in which case the password is not necessary. Note that
a username is mandatory with AUTHINFO USER/PASS.)
The optional fourth field specifies the type of authentication to use. At present, the only recognized "authentication style" is
"authinfo"; this is also the default. It means that AUTHINFO USER/PASS commands are used to authenticate to the remote host. (These NNTP
commands are described in RFC 4643.)
For example:
## UUNET needs a password, MIT doesn't.
mit.edu:bbn::authinfo
uunet.uu.net:bbn:yoyoma:authinfo
This file should not be world-readable.
HISTORY
Written by Rich $alz <rsalz@uunet.uu.net> for InterNetNews.
$Id: passwd.nntp.pod 8822 2009-11-20 17:34:15Z iulius $
SEE ALSO inn.conf(5), innd(8), libinn(3).
INN 2.5.2 2010-02-08 PASSWD.NNTP(5)
Check Out this Related Man Page
PASSWD.NNTP(5) InterNetNews Documentation PASSWD.NNTP(5)NAME
passwd.nntp - passwords for connecting to remote NNTP servers
DESCRIPTION
The file passwd.nntp in pathetc contains host / name / password triplets for use when authenticating client programs to NNTP servers. This
file is normally interpreted by NNTPsendpassword() in libinn(3). Blank lines and lines beginning with a number sign ("#") are ignored.
All other lines should consist of three or four fields separated by colons:
host:name:password
host:name:password:style
The first field is the name of a host, and is matched in a case-insensitive manner. (No detailed matching, such as comparing IP addresses,
is done.)
The second field is a user name, and the third is a password. If either the username or password is empty, then that portion of the
authentication will not occur. (For example, when connecting to a remote INN for peering, only the password is needed.)
The optional fourth field specifies the type of authentication to use. At present, the only recognized "authentication style" is
"authinfo"; this is also the default. It means that NNTP "authinfo" commands are used to authenticate to the remote host. (The "authinfo"
command is a common extension to RFC 977.)
For example:
## UUNET needs a password, MIT doesn't.
mit.edu:bbn::authinfo
uunet.uu.net:bbn:yoyoma:authinfo
This file should not be world-readable.
HISTORY
Written by Rich $alz <rsalz@uunet.uu.net> for InterNetNews. This is revision $Revision: 1.5.6.1 $, dated $Date: 2002/02/03 19:07:50 $.
$Id: passwd.nntp.5,v 1.5.6.1 2002/02/03 19:07:50 vinocur Exp $
SEE ALSO inn.conf(5), innd(8), libinn(3).
INN 2.4.0 2002-02-03 PASSWD.NNTP(5)
Hello
You know how to ask for the existence of one parameter and depending about it then do something, example:
Original script:
###################
USER=$1
PASS=$2
program1 $USER $PASS
###################
Desired shell
###################
USER=$1
PASS=$2
ARCH=$3
if
then
... (3 Replies)
#!/bin/sh
HOST=HOST_IP
USER=$USER
PASSWD=$PASSWD
FILE="*.htm"
ftp -n $HOST <<END_SCRIPT
quote USER $USER
quote PASS $PASSWD
get $FILE
quit
END_SCRIPT
exit 0
Is there any way to display appropriate error message if the file is not found on the server...... (2 Replies)
Hi,
I have a file with below entries
EMPno : R4343
name : Antony
....
Result PASS.
I need to record empno into new file based up on the result as "PASS".
Please suggest me.
Thanks (2 Replies)
Hi,
I have a file with below contents, 3 lines, all are PASS:
cat filetest.log
PASS
PASS
PASS
I would need to check this file to ensure the contents are remain unchanged with only 3 lines and 3 PASS as above, and should return 0 for every check, if any of these content are change then... (2 Replies)
I am having the 15 servers which need to do the monitoring
Hi I need a shell script, By which i can log in to multiple servers and execute the commands.. I need to specify the username and password in the scripts.
Please help me to write the script so that it can login with username and... (5 Replies)
Discussion started by: nandan8a
5 Replies
6. Forum Support Area for Unregistered Users & Account Problems
I tried logging in under my username (Michael Mullig) but as it's been a while I've forgotten my password. None of my email addresses are recognized either. Thinking that my username my have been purged due to lack of activity (understandable) I tried to re-register, only to find the name is still... (2 Replies)
Dear Shell Expert,
I have requirement of replacing passwd field in number of files based on username in them.
The matching username and "new" password in available in a separate file. below is the sample for both.
#sample of one of the file content, red highlighted field are username and... (20 Replies)
Hi,
I am running the following:
PASS="username/password"
sqlplus -s << EOF | grep -v "^$"
$PASS
set feedback off
set heading off
set termout off
select name from v\$database ;
exit
EOF
Which gives
ERROR:
ORA-28002: the password will expire within 5 days
PSMP1 (1 Reply)