{"id":38241909,"url":"https://github.com/illiliti/ssu","last_synced_at":"2026-01-17T01:14:47.394Z","repository":{"id":40435520,"uuid":"290900764","full_name":"illiliti/ssu","owner":"illiliti","description":"Extremely simple su utility","archived":false,"fork":false,"pushed_at":"2023-02-01T11:52:38.000Z","size":31,"stargazers_count":65,"open_issues_count":2,"forks_count":3,"subscribers_count":9,"default_branch":"master","last_synced_at":"2024-05-08T20:04:17.904Z","etag":null,"topics":["doas","su","suckless","sudo"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/illiliti.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":"2020-08-27T23:08:50.000Z","updated_at":"2024-05-04T21:46:53.000Z","dependencies_parsed_at":"2023-02-17T05:01:03.794Z","dependency_job_id":null,"html_url":"https://github.com/illiliti/ssu","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/illiliti/ssu","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/illiliti%2Fssu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/illiliti%2Fssu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/illiliti%2Fssu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/illiliti%2Fssu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/illiliti","download_url":"https://codeload.github.com/illiliti/ssu/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/illiliti%2Fssu/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28491204,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T00:50:05.742Z","status":"ssl_error","status_checked_at":"2026-01-17T00:43:11.982Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["doas","su","suckless","sudo"],"created_at":"2026-01-17T01:14:46.689Z","updated_at":"2026-01-17T01:14:47.386Z","avatar_url":"https://github.com/illiliti.png","language":"C","readme":"# ssu\n\nExtremely simple su utility\n\n## Dependencies\n\n* C99 compiler (gcc, clang, tcc, cproc, ...) (build time)\n* POSIX make (gmake, bmake, smake, pdpmake, ...) (build time)\n* POSIX libc + initgroups(3) (musl libc, glibc, *BSD libc, ...)\n\n## Installation\n\n```sh\n# pass CC=cc macro if c99 is not available\nmake\n\n# by default, only users in the wheel group can elevate privileges.\n# to change the group, pass BINGRP=grp macro, where 'grp' is a desirable group.\n#\n# you must have appropriate privileges to run this command.\nmake PREFIX=/usr install\n```\n\n## Usage\n\nInstead of using a config file, ssu offloads authentication mechanism to the\nkernel by using unix permissions, which makes it simple and secure. However\nsimplicity comes with a cost and such mechanism is not flexible at all; it is\ncompletely limited to the unix permissions. Therefore, ssu is only good for\nthose who don't need complicated setups.\n\nHere is an example how to setup ssu for a specific group(you must be root to\nrun these commands):\n\n```sh\n# run 'id -gn' to see your current group.\n# change 'me' to that group.\nchown root:me /path/to/ssu\n\n# allow your group to execute suid ssu and thus elevate privileges.\n#\n# extra(4) - setuid\n# owner(7) - read, write, exec\n# group(5) - read, exec\n# other(4) - read\nchmod 4754 /path/to/ssu\n```\n\n## Note\n\nWhile using ssu, you may encounter weird errors like 'invalid option'. In order\nto fix them, set `POSIXLY_CORRECT` environment variable or guard command-line\narguments with '--'.\n\nExample with ls:\n\n```sh\nPOSIXLY_CORRECT=1 ssu ls -la /root\nssu -- ls -la /root\n```\n\nSee also: https://wiki.musl-libc.org/functional-differences-from-glibc.html\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Filliliti%2Fssu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Filliliti%2Fssu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Filliliti%2Fssu/lists"}