{"id":16836356,"url":"https://github.com/mvertes/dosu","last_synced_at":"2025-04-11T05:10:55.266Z","repository":{"id":75669656,"uuid":"54072489","full_name":"mvertes/dosu","owner":"mvertes","description":"Switch user then execute a command","archived":false,"fork":false,"pushed_at":"2016-03-27T11:21:08.000Z","size":1,"stargazers_count":6,"open_issues_count":0,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-25T03:12:40.890Z","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":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mvertes.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":"2016-03-16T23:01:17.000Z","updated_at":"2019-09-25T10:14:42.000Z","dependencies_parsed_at":"2023-06-07T07:45:28.607Z","dependency_job_id":null,"html_url":"https://github.com/mvertes/dosu","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/mvertes%2Fdosu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mvertes%2Fdosu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mvertes%2Fdosu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mvertes%2Fdosu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mvertes","download_url":"https://codeload.github.com/mvertes/dosu/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248345266,"owners_count":21088244,"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-10-13T12:13:12.374Z","updated_at":"2025-04-11T05:10:55.236Z","avatar_url":"https://github.com/mvertes.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dosu\n\nSwitch user then execute a command.\n\nUsage: `dosu user command [args...]`\n\nThe command will not run in a child process, but will be executed\nin place, thus avoiding TTY and signal propagation issues in docker\nentry points.\n\n```\n$ docker run -ti --rm alpine:edge su -c 'ps aux'\nPID   USER     TIME   COMMAND\n    1 root       0:00 ash -c ps aux\n\t6 root       0:00 ps aux\n$ docker run -ti --rm -v $PWD/dosu:/sbin/dosu alpine:edge dosu root ps aux\nPID   USER     TIME   COMMAND\n    1 root       0:00 ps aux\n```\n\n## Why reinvent gosu ?\n\nIt takes 174 bytes of portable shell instead of 1.8 MB of binary code.\n\n## License\n\n[ISC License](./LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmvertes%2Fdosu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmvertes%2Fdosu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmvertes%2Fdosu/lists"}