{"id":50320216,"url":"https://github.com/jchurrocarvalho/admx","last_synced_at":"2026-05-29T03:03:54.600Z","repository":{"id":341570633,"uuid":"1067564127","full_name":"jchurrocarvalho/admx","owner":"jchurrocarvalho","description":"Administration linux tools and scripts usefull to admin and manage linux boxes. Started to be a practise bash scripts, becoming a base framework to admin and automate several tasks through many servers.","archived":false,"fork":false,"pushed_at":"2026-03-02T11:20:50.000Z","size":31,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-02T15:13:04.757Z","etag":null,"topics":["administration","bash","linux","management","scripts"],"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/jchurrocarvalho.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-10-01T03:34:24.000Z","updated_at":"2026-03-02T11:20:48.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/jchurrocarvalho/admx","commit_stats":null,"previous_names":["jchurrocarvalho/admx"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/jchurrocarvalho/admx","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jchurrocarvalho%2Fadmx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jchurrocarvalho%2Fadmx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jchurrocarvalho%2Fadmx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jchurrocarvalho%2Fadmx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jchurrocarvalho","download_url":"https://codeload.github.com/jchurrocarvalho/admx/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jchurrocarvalho%2Fadmx/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33634615,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-29T02:00:06.066Z","response_time":107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["administration","bash","linux","management","scripts"],"created_at":"2026-05-29T03:03:51.873Z","updated_at":"2026-05-29T03:03:54.594Z","avatar_url":"https://github.com/jchurrocarvalho.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# admx\n\nLinux tools and scripts usefull to admin and manage machines. Started to be a practise bash scripts, becoming a base framework for administration and automate several tasks through many (a lot) servers.\n(Scripts submitted to SAST tools)\n\n# Commands\n\n## dnf\n\nFor Red Hat like distros.\n\n- dnf-remote.sh\n- dnf-remote-bulk.sh\n\nScripts to execute dnf remotely using ssh. Bulk means that an input file for hosts list is used to execute in several machines.\n\n\"dnf-repo*.sh\" are scripts to simplify the execute of dnf repoquery and format the output. \n\n## fedora remove old kernels\n(Maybe applicable for Red Hat like distro)\n\nSimple. Remove old kernels.\n\n## find related to security\n\n- find-dirs-write-others.sh\n- find-files-write-others.sh\n\nFind directories or files with other write permissions.\n\n- find-unsecure-others.sh\n\nFind files that can contain \"danger\" words and with other permissions. Danger words like \"password\", \"secret\", etc ...\n\n## firewall\n\nFirewall scripts to add or remove sources. Useful to manage different network segments with different firewall profiles.\n\n## IPA\n\nIPA scripts to manage ipa servers and simplify tasks.\n\nTasks such as:\n\n- Add sudo rule.\n- Add user to sudo rule.\n- Update IPA CA certificate in the system.\n- Add, modify and delete DNS records.\n- Add user.\n- Unlock user.\n- Check user status.\n- Change user password.\n- Request certificate for host.\n- Request certificate for an http service.\n- Request certificate for a web host (including virtual host (vh)).\n\n## loginctl\n\nScript to execute loginctl in several machines and check who is logged (loginctl-bulk.sh).\nloginctl-show-session.sh, shows the parameters of current session.\n\n## lsblk\n\nScripts to simplify the use of lsblk command. \n\n- lsblk-view-basic.sh\n- lsblk-view.sh\n\nMore beautiful output for lsblk command.\n\n## nmcli related scripts\n\nA big set of nmcli related scripts. nmcli command has a lot of options and uses, making this command sometime painful for some basic tasks.\n\nSo this agile the use for:\n\n- Add bridge connection.\n- Add wired connection.\n- Show connections.\n- Show devices.\n- Show hostname and permissions.\n- Check network connectivity.\n- Show radio devices.\n- Set DNS for connection.\n- Set gateway.\n- Set hostname.\n- Set ipv4 address.\n- Set methods.\n- Set MTU.\n\n## rsystemctl\n\nExecute of systemctl commands in remte machines.\n\n### rsystemctl-bulk-list-units-failed.sh\n\nCheck the failed services in remote machines.\n\n### rsystemctl-bulk.sh\n\nExecute systemctl in remote machines.\n\n## smb\n\nSet selinux for a samba (smb) share.\nFor security reasons, this is a concern.\n\n# Format for input of hosts list\n(used also in https://github.com/jchurrocarvalho/utilx project)\n\nThis format is now used in scripts for remote commands execution such as rcmd-bulk.sh and scp-bulk*.sh.\n\nThe format of the files used as input for such commands are simple as text files with 3 simples rules:\n\n- Prefix \"P\" to indicate the port. Any number after \"P\" until \"H\" or another char (not number) will be assumed as the port where ssh is listening.\n- Prefix \"H\". After it is a string until end of line or until space char to indicate the host.\n- If prefix \"P\" is not present in the line, the ssh default port is assumed (22).\n\nI know this is a very basic \"format\", but it was useful to rapidly build a way for automatization of several maintenance tasks as security updates, certificates updates, log monitoring, etc …\nSo think this as a starting point. In the **TODO** list is included in future release, to adopt a json format somehow standard for hosts list.\n\nProducts to see:\n\n- glpi\n- wazuh\n- otrs\n- Other CMDB tool, or asset manager\n\n# TODO\n(For now ...)\n\n- Introduce the json format for reading host list.\n- Update dnf scripts to dnf5.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjchurrocarvalho%2Fadmx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjchurrocarvalho%2Fadmx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjchurrocarvalho%2Fadmx/lists"}