{"id":23024751,"url":"https://github.com/oss/koji-add-user","last_synced_at":"2025-04-02T19:41:35.348Z","repository":{"id":13065951,"uuid":"15746508","full_name":"oss/koji-add-user","owner":"oss","description":"Simple script for new Koji users.","archived":false,"fork":false,"pushed_at":"2014-01-13T14:36:31.000Z","size":140,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":29,"default_branch":"master","last_synced_at":"2025-02-08T10:21:31.775Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/oss.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}},"created_at":"2014-01-08T20:02:01.000Z","updated_at":"2014-01-16T20:32:37.000Z","dependencies_parsed_at":"2022-09-23T10:42:39.620Z","dependency_job_id":null,"html_url":"https://github.com/oss/koji-add-user","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oss%2Fkoji-add-user","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oss%2Fkoji-add-user/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oss%2Fkoji-add-user/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oss%2Fkoji-add-user/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oss","download_url":"https://codeload.github.com/oss/koji-add-user/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246883042,"owners_count":20849383,"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-12-15T13:21:18.019Z","updated_at":"2025-04-02T19:41:35.072Z","avatar_url":"https://github.com/oss.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"koji-add-user\n=============\nSimple init script for adding a new user to Koji and setting them up for builds.\n\nUsage\n-----\nTo use this, become root and do\n\n    # koji-add-user \u003cuser\u003e\n\nThis does several things:\n\n- Adds them as a user in Koji and grants them admin access. This should be done\n  by a user who has admin access in the first place - typically anyone.\n- Generates certificates.\n- Copies the certificates to the new user's home directory.\n\nRequires\n--------\n- koji\n- openssl\n\nWalkthrough\n-----------\nWhen creating the certificate, you'll be asked to enter some information that\nwill become a part of the certificate. If the system is set up correctly, you'll\nmost of these will have the proper defaults already set up.\n\n- Country Name: `US`\n- State or Province Name: `New Jersey`\n- Locality Name: `Piscataway`\n- Organization Name: `Open System Solutions`\n- Organizational Unit Name: Left blank\n- Common Name: Your NetID\n- Email Address: Your NBCS Email address\n- Challenge Password: Left blank\n- Optional Company Name: Left blank\n\nWhen prompted, sign the certificate and commit it. This will append a new line\nto the database, which is typically `/etc/pki/koji/index.txt/`.\n\nFinally, this will copy the certificates to your home directory. Fedora\nrecommends that they are saved as\n\n    ~/.fedora.cert\n    ~/.fedora-upload-ca.cert\n    ~/.fedora-server-ca.cert\n\nTo use them, you'll have to copy them to your home directory on each build\nmachine you use.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foss%2Fkoji-add-user","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foss%2Fkoji-add-user","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foss%2Fkoji-add-user/lists"}