05-30-2007
passing username and passwd to http page from unix
hi all,
can any one tell me how to pass username and password to an HTML page from UNIX?
I tried with wget. But, there are no options to pass authentication information to webpage.
plz, can any one suggest me how can I do it?
Thanks in advance.................!
Rani
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
my company is considering a new development of our web site, which used to run on Apachi over Solaris.
The company who is going to do this for us knows only about developing it in ASP.
I guess this means we'll have to have another ISS server on NT for these dynamic pages :(
What are... (5 Replies)
Discussion started by: me2unix
5 Replies
2. UNIX for Dummies Questions & Answers
I am new to Unix and would like to update a website as well as add new content to the site but it must be done with UNIX.
Can anyone give me some pointers as to what types of references are on the web or maybe even some basic commands?
Thanks so much! (1 Reply)
Discussion started by: gsensebe
1 Replies
3. IP Networking
Hi. In my KSH script I'm running a command on a remote server. I want to know how I can test to see if the remote server is available (accessible) prior to running the command. Any ideas?
My command looks like:
`ssh $USER@$TARGET_SERVER_DNS ls -l $REMOTE_FOLDER `
This check should be... (1 Reply)
Discussion started by: dylanmilks
1 Replies
4. Shell Programming and Scripting
Hi. In my KSH script I'm running a command on a remote server. I want to know how I can test to see if the remote server is available (accessible) prior to running the command. Any ideas?
My command looks like:
`ssh $USER@$TARGET_SERVER_DNS ls -l $REMOTE_FOLDER `
This check should be... (4 Replies)
Discussion started by: dylanmilks
4 Replies
5. Shell Programming and Scripting
HI CAN ANY ONE HELP ME FOR BELOW QUESTION
CHECKING AVAILABILITY OF SERVICE IN LINUX (2 Replies)
Discussion started by: satheeshkr_cse
2 Replies
6. Shell Programming and Scripting
Hi,
I want my script to check for availability of few files contineously for some time.
Lets say from 10:00 AM to 10:30 AM script should keep checking on a particular location for each file one by one. If all the files are available then only it should complete the next processing part, else... (2 Replies)
Discussion started by: amit.mathur08
2 Replies
7. Shell Programming and Scripting
Hey guys,
Unfortunatley, I can not use wget on our systems....
I am looking for another way for a UNIX script to test web pages and let me know if they are up or down for some of our application.
Has anyone saw this before?
Thanks,
Ryan (2 Replies)
Discussion started by: rwcolb90
2 Replies
8. Shell Programming and Scripting
Hello,
I'm writing a shell script to wget content web pages from multiple server into a variable and compare
if they match return 0 or return 2
#!/bin/bash
# Cluster 1
CLUSTER1_SERVERS="srv1 srv2 srv3 srv4"
CLUSTER1_APPLIS="test/version.html test2.version.jsp"
# Liste des... (4 Replies)
Discussion started by: gtam
4 Replies
9. Shell Programming and Scripting
Hello
I'm writing a script to get content of web pages on different machines and compare them using their md5 hash
hear is my code
#!/bin/bash
# Cluster 1
CLUSTER1_SERVERS="srv01:7051 srv02:7052 srv03:7053 srv04:7054"
CLUSTER1_APPLIS="test/version.html test2/version.html... (2 Replies)
Discussion started by: gtam
2 Replies
10. Shell Programming and Scripting
Hello everybody. I have a little question. Im creating a script for checking the status of different servers, and everything is running fine except for one thing. I have to check if certain DBs are connectables, I dont care anything else, nor running querys nor updating tables, the only thing I... (4 Replies)
Discussion started by: SeaSoul
4 Replies
LEARN ABOUT FREEBSD
pam_tacplus
PAM_TACPLUS(8) BSD System Manager's Manual PAM_TACPLUS(8)
NAME
pam_tacplus -- TACACS+ authentication PAM module
SYNOPSIS
[service-name] module-type control-flag pam_tacplus [options]
DESCRIPTION
The pam_tacplus module provides authentication services based upon the TACACS+ protocol for the PAM (Pluggable Authentication Module) frame-
work.
The pam_tacplus module accepts these optional parameters:
use_first_pass causes pam_tacplus to use a previously entered password instead of prompting for a new one. If no password has been entered
then authentication fails.
try_first_pass causes pam_tacplus to use a previously entered password, if one is available. If no password has been entered, pam_tacplus
prompts for one as usual.
echo_pass causes echoing to be left on if pam_tacplus prompts for a password.
conf=pathname specifies a non-standard location for the TACACS+ client configuration file (normally located in /etc/tacplus.conf).
template_user=username
specifies a user whose passwd(5) entry will be used as a template to create the session environment if the supplied username
does not exist in local password database. The user will be authenticated with the supplied username and password, but his
credentials to the system will be presented as the ones for username, i.e., his login class, home directory, resource limits,
etc. will be set to ones defined for username.
If this option is omitted, and there is no username in the system databases equal to the supplied one (as determined by call
to getpwnam(3)), the authentication will fail.
FILES
/etc/tacplus.conf The standard TACACS+ client configuration file for pam_tacplus
SEE ALSO
passwd(5), tacplus.conf(5), pam(8)
HISTORY
The pam_tacplus module first appeared in FreeBSD 3.1.
AUTHORS
The pam_tacplus manual page was written by Andrzej Bialecki <abial@FreeBSD.org> and adapted to TACACS+ from RADIUS by Mark R V Murray
<markm@FreeBSD.org>.
The pam_tacplus module was written by John D. Polstra <jdp@FreeBSD.org>.
BSD
August 2, 1999 BSD