Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Merge requests
  • !4706

Closed
Created Aug 05, 2013 by Administrator@rootOwner
  • Report abuse
Report abuse

Added the necessary items to make PAM authentication work.

  • Overview 5
  • Commits 1
  • Changes 6

Created by: dwa012

I have added what is needed to for PAM authentication to work. I am including the wiki instructions as will. There are a few steps to do outside of this package to configure the system to make this type of authentication to work.

Working PAM Configuration

Install Process

  • Have the libpam0g-dev package installed

  • Install the rpam gem

    gem install rpam

  • If on Ubuntu, you will need to replace the unix_chkpwd binary.https://github.com/dwa012/pam-1.1.3-ubuntu-git. Follow the instructions in the readme. This will authorize the git user along with the root user to check passwords against the shadow file. You will have to weigh your own security concerns to determine if you want to enable PAM. You can also use the generated deb package to install the binary. If using the binary you will want to freeze that package, so that is will not be replaced in a future upgrade.

  • Uncomment the PAM omniauth option in the gitlab.yml. You will want to modify the email argument to fit your needs. This will allow users whom are created at first login to have a valid email.

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: github/fork/dwa012/master