Scout24 / yum-repo-server

Server to host and manage yum repositories via REST API
GNU General Public License v3.0
114 stars 19 forks source link

default user/password to use with API calls #40

Closed mmairaju closed 10 years ago

mmairaju commented 10 years ago

here is the error:

Apache Tomcat/7.0.40 - Error report

HTTP Status 401 - PAM authentication failed.


type Status report

message PAM authentication failed.

description This request requires HTTP authentication.


Apache Tomcat/7.0.40

oli99sc commented 10 years ago

Hi, thanks for opening an issue! Due to security concerns, I would not add a default user to the repo server software package. The easiest way to set up an API user would be to create a local user on the machine(s) running yum-repo-server. As the repo server uses PAM authentication against the local system this should work.

If not sure how to do that, see for example http://www.thegeekstuff.com/2009/06/useradd-adduser-newuser-how-to-create-linux-users/