{"id":20181352,"url":"https://github.com/lasbrdev/linux-projeto1-iac","last_synced_at":"2025-08-12T02:37:01.102Z","repository":{"id":151051294,"uuid":"529890118","full_name":"lasbrDev/linux-projeto1-iac","owner":"lasbrDev","description":"First Linux Server Setup - DIO Bootcamp","archived":false,"fork":false,"pushed_at":"2023-10-19T13:56:16.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-10T06:29:16.990Z","etag":null,"topics":["linux","linux-server","linux-server-configuration","linux-shell"],"latest_commit_sha":null,"homepage":"","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/lasbrDev.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":"2022-08-28T14:43:52.000Z","updated_at":"2023-10-19T13:59:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"8207346c-261d-4389-b9a9-40e1278821fe","html_url":"https://github.com/lasbrDev/linux-projeto1-iac","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lasbrDev/linux-projeto1-iac","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lasbrDev%2Flinux-projeto1-iac","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lasbrDev%2Flinux-projeto1-iac/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lasbrDev%2Flinux-projeto1-iac/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lasbrDev%2Flinux-projeto1-iac/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lasbrDev","download_url":"https://codeload.github.com/lasbrDev/linux-projeto1-iac/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lasbrDev%2Flinux-projeto1-iac/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269990474,"owners_count":24508859,"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","status":"online","status_checked_at":"2025-08-12T02:00:09.011Z","response_time":80,"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":["linux","linux-server","linux-server-configuration","linux-shell"],"created_at":"2024-11-14T02:35:14.638Z","updated_at":"2025-08-12T02:37:01.068Z","avatar_url":"https://github.com/lasbrDev.png","language":"Shell","readme":"# Liniux Experience - DIO Bootcamp\n\n## Directory and user creation script\n\nThis is a bash script for creating directories, user groups, and users, as well as specifying permissions on directories.\n\n## Description\n\n`iac1.sh` is an automation script that simplifies the creation of directories, user groups, and users on Unix/Linux systems. It also specifies the appropriate permissions on the corresponding directories, making it easier to organize and manage system resources.\n\n## Features\n\n- Creation of specific directories, including:\n  - /publico\n  - /adm\n  - /ven\n  - /sec\n\n- Creation of custom user groups:\n  - GRP_ADM\n  - GRP_VEN\n  - GRP_SEC\n\n- Creation of users in corresponding groups with encrypted passwords:\n  - GRP_ADM:\n    - user01\n    - user02\n    - user03\n\n  - GRP_VEN:\n    - user04\n    - user05\n    - user06\n\n  - GRP_SEC:\n    - user07\n    - user08\n    - user09\n\n- Specification of directory permissions:\n  - /adm: Full access for the GRP_ADM group (770).\n  - /ven: Full access for the GRP_VEN group (770).\n  - /sec: Full access for the GRP_SEC group (770).\n  - /publico: Permissions not specified.\n\n## Prerequisites\n\nBefore using the script, make sure your system has the `openssl` utility installed.\n\n## How to Use\n\n1. Clone this repository to your machine:\n\n   ```shell\n   git clone git@github.com:lasbrDev/linux-projeto1-iac.git\n\n2. Execute the script:\n\n    ```shell\n    ./iac1.sh\n\nThe script will create directories, user groups, and users, and specify permissions on the corresponding directories.\n\n## Contributing\n\nFeel free to contribute improvements, fixes, or suggestions to this project. Just create a pull request, and we'll be happy to review your contributions.\n\n## License\n\nThis project is distributed under the **MIT License**.\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flasbrdev%2Flinux-projeto1-iac","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flasbrdev%2Flinux-projeto1-iac","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flasbrdev%2Flinux-projeto1-iac/lists"}