Ubuntu :: Authenticate Through HTTP Authentication Via Bash Script?

Jun 23, 2011

I have a process where by all SVN repositories are held in /var/svn/[domain]. I have set-up a post-commit hook to automatically checkout the repository to the development site and delete all .svn directories recursively through-out.I intend to run a bash script (as below); this is where my problem lies. EVERY repository is "Open" and anyone can read, write and commit the repository, however thus is secure via HTTP Authentication, using htpasswd.

Because the hook is automatic, I would like to be able to collect the current user/password but I don't think it's possible so I have created an account for the system called "svnroot" with a password.How can i authenticate through the HTTP Authentication via my bash script?

View 2 Replies


ADVERTISEMENT

Ubuntu :: How To Authenticate On The CUPS Admin HTTP Interface

Aug 4, 2011

I can connect to the HTTP cups interface (localhost:631) but if I need admin priviledges, giving my id/pwd doesn't work. I don't see any "cups" group defined.

Otherwise, how do I enable a printer? I could disable it using the KDE printer management interface, but I can't re-enable it using same... Answer: /usr/sbin/cupsenable

View 1 Replies View Related

Programming :: Http Authentication With Libxml2

May 29, 2011

I'm trying to add HTTP authentication to my app (it's a rss reader). As the app is in written in C and uses Libxml2, I've been searching in Libxml2 doc, but it seems it's not possible. Maybe someone could point me to a link to relevant info about how I could achieve that?

View 6 Replies View Related

Ubuntu Multimedia :: Record A Stream With Http Cookie Authentication?

Apr 2, 2010

I can open the stream fine from Firefox and I have recorded streams using VLC, however this one uses cookies as authentication and VLC will not play it Apparently it's considered a security issue so cookie support has not been implemented for VLC.

View 2 Replies View Related

Server :: Apache2.2 MOD_PROXY ProxPass With HTTP Authentication

Dec 24, 2010

I have a server acting as a proxy to a couple of IP cameras on my local network. The IP cameras require HTTP-Authentication (Basic) but I want the outward facing Apache server to automatically log in without prompting the user for a login.

My current configuration is:

Code:

That works as a proxy but still asks for a HTTP Auth login. Can I get Apache to pass the login details to the IP cameras so users can just hit up the proxy and view the camera without having to log in?

View 2 Replies View Related

CentOS 5 Server :: Authenticate/Decrypt Packet Error: Packet HMAC Authentication Failed

Sep 17, 2009

I got a problem with my CentOS server. Somebody told me OpenVPN Requires different changes inside my firewall settings. That could be the problem why openvpn wont load..I receive this error on my CentOS panel when im trying to connect into the centos openvpn (with my winxp pc):

Thu Sep 17 20:31:36 2009 TLS Error: incoming packet authentication failed from 84.xx.62.122:2622
Thu Sep 17 20:31:38 2009 Authenticate/Decrypt packet error: packet HMAC authentication failed
Thu Sep 17 20:31:38 2009 TLS Error: incoming packet authentication failed from 84.xx.62.122:2622

[code]....

View 5 Replies View Related

Software :: Error, Check The HTTP Server Authentication Requirements For Accessing This CGI

Jan 1, 2010

I using rhel5 i installed&configured nagios ofter loged in the nagios server when i m enter hosts & services i m getting this error # it appears as though you do not have permission to view information for any of the hosts you requested. If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI and check the authorization options in your CGI configuration file.

View 9 Replies View Related

Server :: Snmpwalk - -bash: !xx: Event Not Found - Failed Authentication

Aug 30, 2010

I use snmpv3, and experiencing problem in passwords containing special symbols like "!". For Ex.: snmpwalk -v 3 -a SHA -A xxxxxxx!xx -l authPriv -u user -x DES -X xxxxxxx <IP address/Name of device> -bash: !xx: event not found I also tried using "" before "!" in passwords for ex. xxxxxx!xx, but then I have failed authentication.

View 2 Replies View Related

Ubuntu Servers :: Nagios On 10.04 Server Using Apt-get - HTTP WARNING: HTTP/1.1 404 Not Found

Aug 4, 2010

I installed Nagios on my Ubuntu 10.04 server using apt-get and when I accessed the web console, everything was OK. I made some changes to apache (creating some new virtual sites) and since then Nagios gives me a warning message for HTTP with the message, HTTP WARNING: HTTP/1.1 404 Not Found. The sites that I created are working perfectly. I noticed that the attemps are 4/4. Does this need to be reset or does Nagios automatically reset that once it detects the issue is resolved?

View 1 Replies View Related

Networking :: Craft A Valid Http/1.1 Request For Getting Http Headers (not The Html File Itself)

Sep 27, 2010

Using netcat, nc(1), craft a valid http/1.1 request for getting http headers (not the html file itself!) for the main index page of www dot aalto dot fi. What request method did you use? Which headers did you need to send to the server? What was the status code for the request? Which headers did the server return? Explain the purpose of each header.

nc -v www dot aalto dot fi 8080
HEAD / HTML/1.1
host: www dot aalto dot fi
And it returns:
200 OK
Content-Length: 858
Content-Type: text/html
Last-Modified: Thu, 02 Sep 2010 12:46:01 GMT
[Code]....

I really don't know what does it mean. Question 2: Using netcat, nc(1), start a bogus web server listening on the loopback interface port 8080. Verify with netstat(, that the server really is listening where it should be. Direct your browser to the bogus server and capture the User-Agent: header "Direct your browser to the bogus server and capture the User-Agent: header" I don't understand this question.

View 2 Replies View Related

Ubuntu Security :: Configure SSH Key-based Authentication And SSH Password Authentication In Same Machine For Different User?

Jan 10, 2010

I want to configure SSH key-based authentication and SSH password Authentication in same machine for different user .

View 1 Replies View Related

Ubuntu Servers :: Postfix Smarthost + Authentication: Get 535 Incorrect Authentication Data Error

Mar 14, 2011

On Ubuntu server 10.10, with a relay smtp server with authentication via postfix; I keep getting 535: Incorrect authentication data. I'm sure my username and password is correct. Heres how I set up postfix: I created a file called smarthosts.conf in my /etc/postfix/ directory that contains the following:

[Code].....

my server uses plain text authentication on port 25. I would like to use security like SSL, but this particular server is unsecured.

View 9 Replies View Related

Debian :: Way To Make Su Repeat Authentication Rather Then Just Returning Authentication Failed

Apr 1, 2016

If I am running a script, let's say a install script. Is there a way to make Su repeat authentication rather then just returning "Authentication failed" and continuing the script?

View 3 Replies View Related

Security :: Make A Choice On What Authentication Protocol To Use For Authentication And Authorization?

Jan 17, 2011

I need to make a choice on what authentication protocol I want to use for Authentication and Authorization. I was looking at Radius and then literature suggested that Diameter was a better protocol. Keep in mind I need this on a hetrogeneous setup ( linux & windows together). Diameter seemed like a good fit until I discovered that the open source code no longer seems to be maintained ( C/C++).

I was also looking at Kerberos as an option though there is alot overhead with the server. SSL/TLS or EAP? I am looking for simple but secure and am new at the security protocols.

View 2 Replies View Related

Server :: Su: Authentication Service Cannot Retrieve Authentication Info?

Mar 12, 2010

I have a problem with ldap client authentication in ubuntu. I am using rhel5 as openldap server and I configured ubuntu as client, when I am trying to login the following message is coming."su: Authentication service cannot retrieve authentication info. Sorry"
But when I do search through "ldapsearch" command output is coming without any errors, Can anybody explain what would be problem.

View 1 Replies View Related

Server :: Squid Proxy Authentication And Without Authentication

May 27, 2011

I have a network and am using squid proxy with authentication I want to create another subnet without authentication.

View 1 Replies View Related

Ubuntu :: Change Password New And Old Do Not Authenticate?

Jan 10, 2010

I tried to change my password through the Users and Groups dialogue, and now neither the old one nor the new one work. I tried to do it once, and it didn't do anything (the password was still my old password), then the second time I did it, when I went to save the configuration it wouldn't take my new password or my old one. Now I can't authenticate for anything.

A wicked backdoor I've noticed is that going into recovery mode offers you a root console without authentication. (Awesome, Linux, secure as all ****, seriously.) Is there any way to use this to set my user password without needing to authenticate?

View 5 Replies View Related

Ubuntu Networking :: 10.4 - Cannot False Authenticate With AP

May 13, 2010

I'm on ubuntu 10.4 and Cant seem to falsely authenticate myself with my AP. I am trying to break a wep key on one of my older linksys routers; It continues to say this:

Code:
root@kevin-laptop:/home/kevin# aireplay-ng -1 1 -a xx:xx:xx:xx:xx:xx mon1
No source MAC (-h) specified. Using the device MAC (xx:xx:xx:xx:xx:xx)
11:39:16 Waiting for beacon frame (BSSID: xx:xx:xx:xx:xx:xx) on channel 6
11:39:16 Sending Authentication Request (Open System) [ACK]
11:39:18 Sending Authentication Request (Open System) [ACK]
11:39:20 Sending Authentication Request (Open System) [ACK]

11:39:22 Sending Authentication Request (Open System) [ACK]
11:39:24 Sending Authentication Request (Open System) [ACK]
11:39:26 Sending Authentication Request (Open System) [ACK]
11:39:28 Sending Authentication Request (Open System) [ACK]
11:39:30 Sending Authentication Request (Open System) [ACK]
11:39:32 Sending Authentication Request (Open System) [ACK]

11:39:34 Sending Authentication Request (Open System) [ACK]
11:39:36 Sending Authentication Request (Open System) [ACK]
11:39:38 Sending Authentication Request (Open System) [ACK]
11:39:40 Sending Authentication Request (Open System) [ACK]
11:39:42 Sending Authentication Request (Open System) [ACK]
11:39:44 Sending Authentication Request (Open System) [ACK]
11:39:46 Sending Authentication Request (Open System) [ACK]

Attack was unsuccessful. Possible reasons:
* Perhaps MAC address filtering is enabled.
* Check that the BSSID (-a option) is correct.
* Try to change the number of packets (-o option).
* The driver/card doesn't support injection.
* This attack sometimes fails against some APs.
* The card is not on the same channel as the AP.
* You're too far from the AP. Get closer, or lower the transmit rate.

root@kevin-laptop:/home/kevin#
I'm using an eeepc 701 it has an Atheros card and does injection. I have also tried it with backrack 4 and it works perfectly (it falsely authenticates with the ap and decrypts the wep key) I just cant seem to get it to work on ubuntu 10.4. Could it be a kernel issue? I found out that there is a bug in the new(er) kernel(s). If you use an older kernel (I used 2.6.31-14 which can be found here) and it magically works.

View 8 Replies View Related

Ubuntu Networking :: Cannot Authenticate To WPA Network

Aug 22, 2010

I have a TP-Link Atheros-based USB card: TL-WN422G. It's listed widely as being compatible, but I'm baffled if I can make it work. I'm running an ndiswrapper (XP-64) driver, and that seems to be loaded and recognizing the hardware correctly. The system can scan and correctly identify our network, and other nearby ones, but when the WPA key is entered (correctly, I've triple checked), the "Secrets" windows just keeps popping up and no IP is acquired. I've installed and tried to configure it with wpa-supplicant, all to no avail.

I've attached below list of various outputs that I've looked at.
Ubuntu 10.04.1 LTS (Kubuntu); 2.6.32-24-server x86_64
output of lsusb
Bus 002 Device 002: ID 0040:073d
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 0413:6029 Leadtek Research, Inc.
Bus 001 Device 002: ID 0cf3:1006 Atheros Communications, Inc.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root .....

View 4 Replies View Related

Ubuntu :: Cannot Authenticate Some Important Packages

Dec 22, 2010

I'm running Lucid Lynx. When I go into synaptic package manager and try to take updates, it says it can't authenticate some of the packages, including for example linux-image 2.6.32-27-generic. What is up with this?

View 4 Replies View Related

Ubuntu :: Cannot Authenticate 10.10 Partition With Password

Mar 1, 2011

Today I've found out that I cannot authenticate and use my ubuntu 10.10 partition as it doesn't recognize my password! The password is correct, I also tried to change the username in "root" but nothing changes. When I write it, it shows for some istants a black screen with words in it (so quickly that it's not easy to read) and then it shows me again the form to access.

View 5 Replies View Related

Ubuntu :: Wireless Will Not Authenticate (After 11.04 Upgrade)

May 11, 2011

My wireless setup was working perfectly in 10.10 but after the upgrade to 11.04 all went wrong, i can see the device yes, and I can see the networks but when I try to connect it asks to reinput the password. And if I try with Wicd it says "bad password" the thing is, the password is the same i was using in 10.10 and it cant connect to an open network either. I am a bit new at all this, but as far as I know I was using p54 drivers in 10.10. in order to make the dongle work i hat to install "linux-firmware-nonfree"... tried to reinstall it, but the same result. Tried windows drivers too with ndiswrapper, and the same result again.

lsusb:
Bus 001 Device 007: ID 06b9:0121 Alcatel Telecom SpeedTouch 121g Wireless Dongle

View 9 Replies View Related

Ubuntu :: Stop Asking Every Time For Password To Authenticate?

Jan 27, 2010

i recently switched to ubuntu 9.10 from win vista, i am having a problem... in ubuntu when ever i do any changes it asks me for my password, i know that its for my own PC's securiety but now i am really annoyed with this.

View 1 Replies View Related

Ubuntu :: Authenticate Shutdown - Other Users Still Logged In

Apr 6, 2010

I installed a few media servers to stream something to my PS3 over the weekend, but now when trying to shutdown the computer, I'm asked to authenticate with a password since other users are still logged in. I installed quite a few programs over the weekend trying to get it to work, so I can't remove a specific one. Is there a way to see which daemons are logged in under a different session? Found it. It turned out to be mythtv.

View 3 Replies View Related

Ubuntu Networking :: 10.04 Will Not Authenticate Secure Wireless?

Jun 6, 2010

however, until this morning I had only been using my wired connection with no problems but when I tried to connect to my home's WPA secured wireless network, it just would not connect. The network manager sees the network and when I click on it, a window pops up asking for authentication. I enter the passphrase, but still it will not connect. I'm using a Lenovo X61 LAPTOP (not tablet).

View 5 Replies View Related

Ubuntu Installation :: Failed To Authenticate Packages?

Aug 20, 2010

While running the command sudo apt-get upgrade I get this msg

"Failed to authenticate the following packages"
AVISO: No se han podido autenticar los siguientes paquetes!
libnautilus-extension1 libndesk-dbus1.0-cil libsoup2.4-1 libsoup-gnome2.4-1
libwebkit-1.0-common libwebkit-1.0-2 nautilus nautilus-data notify-osd
Fixd

View 1 Replies View Related

Ubuntu :: 10.04 - NIS Client Can't Authenticate Valid NIS Users

Oct 26, 2010

I use Ubuntu in my office NIS environment and I can't upgrade the whole network to LDAP right. I upgraded to 10.04 recently and reinstalled the NIS client and associated packages, among other things.

I have set up my /etc/nsswitch.conf file so that passwd, group and shadow all have "files nis", I'm bound to the correct NIS domain and I can do "ypcat -k passwd" or "ypcat -k hosts" just fine.

Problem is that I can't log on or su to any NIS user, I just get "authentication failure". I've tried the same usernames and passwords on Red Hat NIS clients on the same domain and they work fine.

View 2 Replies View Related

Ubuntu Servers :: LDAP Scripts Does Not Authenticate

Jan 3, 2011

Ldapscripts seems to be authenticating oddly but I am not sure why. Running 'ldapadd' works without issue:

<code>root@domainator:~# ldapadd -D cn=root,dc=example,dc=home -W
Enter LDAP Password:
<CTRL-D>
root@domainator:~#
</code>

However:
<code>
root@domainator:~# ldapaddgroup test
>> 01/03/11 - 22:16 : Command : /usr/sbin/ldapaddgroup test
ldap_bind: Invalid credentials (49)
ldap_bind: Invalid credentials (49)
Error adding group test to LDAP
Error adding group test to LDAP
</code>

Here's various parts of my /etc/ldapscripts/ldapscripts.conf:
<code>
SERVER="domainator"
BINDDN="cn=root,dc=example,dc=home"
BINDPWDFILE="/etc/ldapscripts/ldapscripts.passwd"
SUFFIX="dc=example,dc=home" # Global suffix
GSUFFIX="ou=Groups" # Groups ou (just under $SUFFIX)
USUFFIX="ou=Users" # Users ou (just under $SUFFIX)
MSUFFIX="ou=Computers" # Machines ou (just under $SUFFIX)
GIDSTART="10000" # Group ID
UIDSTART="10000" # User ID
MIDSTART="20000" # Machine ID
</code>
/etc/ldapscripts/ldapscripts.passwd permissions are root:root, 0400 a

And I have quadruple checked my password is correct. Is there a way to print out debugging from ldapscripts so I know what commands it is generating?

View 3 Replies View Related

Ubuntu Servers :: Trying To Authenticate Login Via LDAP

Aug 3, 2011

I have a query regarding login to roundcube via dovecot ldap. I have installed and set up the openldap on Ubuntu Server 11.04 with the help of the following article [URL]. I have also installed Postfix, Dovecot, Dovecot-ldap and roundcube as the mail client. Then, I went on to test if I can login through roundcube. I received "login failed". I'm sure the dovecot is running fine as well as Postfix and openLDAP server. All I can find from the log was "auth(default) LDAP: Can't connect to server: localhost".

View 1 Replies View Related

Ubuntu :: Cannot Authenticate In Software Ctr. Or Update Mgr.--CLI Is Fine, Though?

Feb 28, 2011

CLI upgrades and installations work just fine, as does Synaptic, etc.When I open Update Manager, it checks for new updates just fine, also, but when I click "Install," and the authentication window pops up, there is no field to enter the password. Closing out and retrying later, the authentication window pops up (again, without a password field), shakes back and forth rapidly, and disappears.The same thing happens with the software center. No error messages or anything with either of them, though.I've tried reinstalling the update manager from Synaptic, but to no avail.I'm running Ubuntu 10.10 64-bit (with the server kernel, because for some reason VirtualBox seemed to want it)

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved