{"id":19601463,"url":"https://github.com/stackstorm/st2-auth-backend-pam","last_synced_at":"2025-03-31T06:09:18.033Z","repository":{"id":5809487,"uuid":"44204923","full_name":"StackStorm/st2-auth-backend-pam","owner":"StackStorm","description":"PAM authentication plugin for StackStorm","archived":false,"fork":false,"pushed_at":"2024-10-20T17:01:06.000Z","size":64,"stargazers_count":3,"open_issues_count":1,"forks_count":11,"subscribers_count":14,"default_branch":"master","last_synced_at":"2025-03-24T05:02:50.646Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/StackStorm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-10-13T21:07:43.000Z","updated_at":"2024-10-20T17:10:18.000Z","dependencies_parsed_at":"2024-11-11T09:28:45.808Z","dependency_job_id":null,"html_url":"https://github.com/StackStorm/st2-auth-backend-pam","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StackStorm%2Fst2-auth-backend-pam","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StackStorm%2Fst2-auth-backend-pam/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StackStorm%2Fst2-auth-backend-pam/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StackStorm%2Fst2-auth-backend-pam/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/StackStorm","download_url":"https://codeload.github.com/StackStorm/st2-auth-backend-pam/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246423731,"owners_count":20774820,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-11T09:18:29.180Z","updated_at":"2025-03-31T06:09:18.003Z","avatar_url":"https://github.com/StackStorm.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PAM authentication plugin for StackStorm\n\nPAM authentication backend allows users to authenticate against the PAM (Pluggable Authentication\nModules) on the system where ``st2auth`` service is running.\n\n### Requirements\n\nUbuntu:\n\n```bash\nsudo apt-get -y install libpam0g\n```\n\nRHEL/CentOS:\n\n```\nsudo yum -y install pam-devel\n```\n\n### Installation\n\nInstall this into the ST2 virtualenv with:\n\n```bash\nsudo /opt/stackstorm/st2/bin/pip install git+https://github.com/StackStorm/st2-auth-backend-pam.git@master#egg=st2_auth_backend_pam\n```\n\nEdit the file: `/lib/systemd/system/st2auth.service`. Modify it so that the `stauth` service runs as root.\n\n### Configuration Options\n\n| option    | required | default | description                                                |\n|-----------|----------|---------|------------------------------------------------------------|\n| service   | no       | login   | PAM service to authenticate against                        |\n\n### Configuration Example\n\nPlease refer to the authentication section in the StackStorm \n[documentation](http://docs.stackstorm.com) for basic setup concept. The following is an\nexample of the auth section in the StackStorm configuration file for the PAM backend.\n\n```ini\n[auth]\nmode = standalone\nbackend = pam\nbackend_kwargs = {\"service\": \"login\"}\n...\n```\n\n### Limitations\n\nThe python implementation of PAM does not allow authentication as the `root` user.\nWhen utilizing this backend, you will need to authenticate as a non-`root` user.\n\n\n## Copyright, License, and Contributors Agreement\n\nCopyright 2015 StackStorm, Inc.\n\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use this work except in\ncompliance with the License. You may obtain a copy of the License in the [LICENSE](LICENSE) file,\nor at: [http://www.apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0)\n\nBy contributing you agree that these contributions are your own (or approved by your employer) and\nyou grant a full, complete, irrevocable copyright license to all users and developers of the\nproject, present and future, pursuant to the license of the project.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstackstorm%2Fst2-auth-backend-pam","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstackstorm%2Fst2-auth-backend-pam","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstackstorm%2Fst2-auth-backend-pam/lists"}