{"id":22128858,"url":"https://github.com/g5ostxa/sysctl","last_synced_at":"2025-03-24T08:43:51.078Z","repository":{"id":258042454,"uuid":"872193264","full_name":"g5ostXa/sysctl","owner":"g5ostXa","description":"Kernel params for linux systems","archived":false,"fork":false,"pushed_at":"2024-11-29T08:08:57.000Z","size":21,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-29T08:36:34.889Z","etag":null,"topics":["kernel","linux","security","sysctl"],"latest_commit_sha":null,"homepage":"","language":null,"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/g5ostXa.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":"2024-10-14T02:06:57.000Z","updated_at":"2024-11-29T08:09:00.000Z","dependencies_parsed_at":"2024-11-29T08:30:30.623Z","dependency_job_id":"15aaa856-7f42-4cff-b843-f2b856281cd0","html_url":"https://github.com/g5ostXa/sysctl","commit_stats":null,"previous_names":["g5ostxa/sysctl"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/g5ostXa%2Fsysctl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/g5ostXa%2Fsysctl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/g5ostXa%2Fsysctl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/g5ostXa%2Fsysctl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/g5ostXa","download_url":"https://codeload.github.com/g5ostXa/sysctl/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":236192323,"owners_count":19110002,"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":["kernel","linux","security","sysctl"],"created_at":"2024-12-01T17:48:27.928Z","updated_at":"2025-01-29T14:17:11.267Z","avatar_url":"https://github.com/g5ostXa.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"## ⚙️ sysctl hardening\n\n#### Usage:\n\n- Clone the repository\n```\n$ git clone --depth 1 https://github.com/g5ostXa/sysctl.git\n```\n- Copy sysctl files to `/etc/sysctl.d/`\n```\n$ sudo cp -r sysctl/* /etc/sysctl.d/\n```\n- Give root permissions to the directory and all it's content\n```\n$ sudo chown -R root:root /etc/sysctl.d/; sudo chown -R root:root /etc/sysctl.d/*\n```\nTo print current permissions, type the following code in your terminal\n```\n$ stat -c \"%a %n\" /etc/sysctl.d/*\n```\nIf needed, change permissions to \"600\" for everything in `/etc/sysctl.d/`\n```\n$ sudo chmod 600 /etc/sysctl.d/*\n```\n- Finally, apply kernel parameters permanently\n```\n$ sudo sysctl --system\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fg5ostxa%2Fsysctl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fg5ostxa%2Fsysctl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fg5ostxa%2Fsysctl/lists"}