passing login details to htaccess login prompt

Thread Tools Search this Thread
Top Forums Shell Programming and Scripting passing login details to htaccess login prompt
# 1  
Old 07-25-2012
Error passing login details to htaccess login prompt


How i can pass the login details to the URL which is password protected with the htaccess using command line or script (perl,or shell,or php).

Any help or hint appreciated.

# 2  
Old 07-25-2012

Maybe wget --http-user=username --http-password=password url, or http://user:password@url ?
# 3  
Old 07-25-2012
Hi Chirel,

Tried with below :
wget --no-check-certificate -U firefox --http-user=username--http-password=odTms0}c(

which gives me" ERROR 403: Forbidden."

any suggestion

Last edited by Scott; 07-25-2012 at 09:23 PM.. Reason: Code tags
# 4  
Old 07-25-2012
In interactive mode, with w3m https://url, is it working ? Can you specify the user pass ?
# 5  
Old 07-25-2012
Still getting same error 403 Forbidden.with

One point like to mention the URL is https://

Last edited by SilvesterJ; 07-25-2012 at 09:58 PM..
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Reporting last login details

Most of my Solaris 10 user accounts are generally 10 characters long. When I run the 'last' command the report only shows the first 8 characters so the information is not very helpful. How can I report the full 10 character user account. (1 Reply)
Discussion started by: PPOWER55
1 Replies

2. Shell Programming and Scripting

Script as login shell (passing args to login shell)

Hello all, for security reasons my compagny imposes that my script be launch remotly via ssh under the users login shell. So serverA launches the ssh command to serverB which has a local user with my script as a login shell. Local script works like a charm on his own. serverB$ grep... (20 Replies)
Discussion started by: maverick72
20 Replies

3. Post Here to Contact Site Administrators and Moderators

Changing login details

Dear Administrators! I would like to change my username for this forum, would it be possible? Regards FR (1 Reply)
Discussion started by: fretagi
1 Replies

4. UNIX for Dummies Questions & Answers

Capturing the login logout details of user

Hi I'm new to Shell scripting .Can anyone please help me how to capture user's login and logout details and load them into a table... we are using Oracle DB on UNIX:confused: (3 Replies)
Discussion started by: rajmohan146
3 Replies

5. AIX

How to find the year in last login details

Hi Friends I have a query. we had a requirement to see the last login details of our users so I ran the command last <username> and the output i get is: wtmp begins Apr 17 21:48 Now I need to know couple of things: 1. How can I see the year this log is being read from wtmp file 2. Is... (4 Replies)
Discussion started by: nathandrake13
4 Replies

6. AIX

Last login details in banner

Friends!! I need your help. Where can i change/set the last login details as below in aix 5.3. And how to do that to get the results as exactly below login as: mbpops mbpops@xx.28.3.24's password: Last unsuccessful login: Mon Nov 22 14:32:27 GMT 2010 on ssh from Last login:... (17 Replies)
Discussion started by: kmvinay
17 Replies

7. UNIX for Dummies Questions & Answers

Check login details

As a root user i switch to a different user say "oratest". I would like to know the details like at what time did the switch ( su - oratest ) happen. Are there any logs to check this Thanks. (4 Replies)
Discussion started by: jjoy
4 Replies

8. Post Here to Contact Site Administrators and Moderators

Reg:Login details

Hi, I want to change my login name.Can u please suggest me how to do that.:confused: Regards, Jyothi (3 Replies)
Discussion started by: jyothi_wipro
3 Replies

9. Cybersecurity

Browser Login instead of .htaccess popup

Hi, Sorry if this is in the wrong forum. Anyway help I would appreciate. How do or or where would I find info (tried google but it's just a bit hard to understand & have no how to implement it). What I've got is a standard garden variety user registration form (php). It allows people to... (1 Reply)
Discussion started by: justanob
1 Replies

10. UNIX for Dummies Questions & Answers

IP details for Unix/Linux login clients?

Hi there, I am wondering if by logging in to a unix system, if it is possible to get the IP address of the machine I am connecting FROM. I know how I can do this using the name server, but is this possible without a host lookup?:confused: Thanks, -ghoti (15 Replies)
Discussion started by: ghoti
15 Replies
Login or Register to Ask a Question

Featured Tech Videos