{"id":22325514,"url":"https://github.com/jamf/makemeanadmin","last_synced_at":"2025-04-07T12:11:08.681Z","repository":{"id":41126688,"uuid":"166857961","full_name":"jamf/MakeMeAnAdmin","owner":"jamf","description":"Provides temporary admin access for a standard user via Jamf Self Service","archived":false,"fork":false,"pushed_at":"2024-01-26T07:48:03.000Z","size":1,"stargazers_count":269,"open_issues_count":20,"forks_count":67,"subscribers_count":26,"default_branch":"master","last_synced_at":"2025-03-31T11:03:54.929Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jamf.png","metadata":{"files":{"readme":"ReadMe.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2019-01-21T18:05:39.000Z","updated_at":"2025-03-29T12:09:20.000Z","dependencies_parsed_at":"2024-12-04T02:12:25.708Z","dependency_job_id":"e0e70559-da25-43f7-9497-3502fb2e9afa","html_url":"https://github.com/jamf/MakeMeAnAdmin","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamf%2FMakeMeAnAdmin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamf%2FMakeMeAnAdmin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamf%2FMakeMeAnAdmin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamf%2FMakeMeAnAdmin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jamf","download_url":"https://codeload.github.com/jamf/MakeMeAnAdmin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247648977,"owners_count":20972945,"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-04T02:12:22.658Z","updated_at":"2025-04-07T12:11:08.661Z","avatar_url":"https://github.com/jamf.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"Make Me an Admin!\n\nThis script, when run, will allow a standard user to upgrade themselves to an admin for 30 minutes and then will grab a snapshot of the logs for the past 30 minutes as well so you can track what they did. \n\nThe script will create a launch daemon to take care of demoting the user so that no matter how many times they log out or shut down, after 30 minutes of uptime, a script will be run to remove their admin privileges. \n\nIt is recommended to push this script as a policy to self service to run only once per day.\n\nEdits: If you wish to tailor the script to your own needs, here is where to make the changes.\n\nUser Prompt: Line 24 | Plain text\nDefault Message: You now have administrative rights for 30 minutes. DO NOT ABUSE THIS PRIVILEGE... \nDefault Button: \"Make me an admin, please!\"\n\nTime Frame for Admin Rights: Line 39 | Integer in seconds\nDefault: 1800 (30 minutes)\n\nTime Frame for logs to be pulled:  Line 82 | String after the \"--last\" flag in minutes\nDefault: 30m\n\nLocation to save logs: line 82 | String after \"--output\" flag, must be valid directory\nDefault: /private/var/userToRemove/$userToRemove.logarchive","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamf%2Fmakemeanadmin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjamf%2Fmakemeanadmin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamf%2Fmakemeanadmin/lists"}