Win a copy of Terraform in Action this week in the Cloud forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

apache/httpd using OS passwords?

 
author & internet detective
Posts: 40801
829
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is it possible to use the Linux/UNIX operating system password for login? (I suspect the answer is no, but no harm in asking.)

What I'm really trying to accomplish - be able to access subversion at the command line without having to enter a password (so it can be run unattended.)
 
Bartender
Posts: 4109
72
Hibernate Fedora Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Jeanne Boyarsky wrote:What I'm really trying to accomplish - be able to access subversion at the command line without having to enter a password (so it can be run unattended.)



You mean doing "svn checkout" etc.. from command line ? Or exposing the svn through httpd ?
 
Saloon Keeper
Posts: 24578
168
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can. Do.

Apache supports a whole raft of plug-in authentication modules.

One thing to considers, however, is "which" login you want to use. What you're actually implying is that you want to use the userid/password for that particular server machine.

I use LDAP authentication on my machines (courtesy of PAM), so there's a master database for the user logins instead of maintaining logins on a per-machine basis. It makes user administration simpler and scales well. And the users don't end up with a different password on every machine - unless I make an exception. My root accounts are not authenticated against LDAP because I don't want someone who discovers the root password to end up with the keys to the whole farm.

For LDAP authentication, I use the mod_authz module.

However, I just reread that, and subversion puts an extra spin on it. I am, in fact, using LDAP mod_authz as my subversion credentials supplier since I use the Apache server interface for both command line and for Eclipse. However, if you use the Subversion command-line client, it should prompt you once and remember thereafter if I'm not hallucinating too much. The information gets stored in the ~/.subversion directory.

If it turns out I'm mis-remembering, you should still be able to set up prompt-free access using a security certificate.
 
Jeanne Boyarsky
author & internet detective
Posts: 40801
829
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes. Doing "svn checkout".

Tim: Thanks for a host of things to try on Monday.
reply
    Bookmark Topic Watch Topic
  • New Topic