{"id":18609930,"url":"https://github.com/mcrmonkey/userop","last_synced_at":"2026-04-24T16:03:48.306Z","repository":{"id":3057828,"uuid":"4079841","full_name":"mcrmonkey/UserOp","owner":"mcrmonkey","description":"Simple script for managing users on a basic samba server","archived":false,"fork":false,"pushed_at":"2017-08-20T14:15:05.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-16T22:37:06.372Z","etag":null,"topics":["bash-script","samba-database","samba-passwords","samba-server","shell"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":false,"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/mcrmonkey.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}},"created_at":"2012-04-19T20:25:07.000Z","updated_at":"2019-11-16T16:32:38.000Z","dependencies_parsed_at":"2022-07-21T21:32:56.712Z","dependency_job_id":null,"html_url":"https://github.com/mcrmonkey/UserOp","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mcrmonkey/UserOp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcrmonkey%2FUserOp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcrmonkey%2FUserOp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcrmonkey%2FUserOp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcrmonkey%2FUserOp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mcrmonkey","download_url":"https://codeload.github.com/mcrmonkey/UserOp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcrmonkey%2FUserOp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32230421,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T13:21:15.438Z","status":"ssl_error","status_checked_at":"2026-04-24T13:21:15.005Z","response_time":64,"last_error":"SSL_read: 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":["bash-script","samba-database","samba-passwords","samba-server","shell"],"created_at":"2024-11-07T03:07:46.018Z","updated_at":"2026-04-24T16:03:48.257Z","avatar_url":"https://github.com/mcrmonkey.png","language":"Shell","readme":"UserOp\n======\n\nThis is a script intended to make basic user administration on a samba server a little easier.\n\nThe script\n----------\n\nThe script is basically a wrapper for the \"useradd\" \"passwd\" and \"smbpasswd\" utilities\nwith the intention of making addition, removal and changes of user passwords simple\n\nThe script is written for use with bash and was orginally designed to be run with sudo, eg: \n\n```\nsudo userop add newuser\n```\n\nIts beginnings\n--------------\nIt was written to make it easy for someone who doesn't know linux to add, remove and edit user account details on a linux server with a simple default samba installation.\nThe script was designed for a Debian based distro of linux, but it should be easy enough adjust for other linux distributions by adjusting the configuration settings at the top of the script.\n\n\nOperational detail\n------------------\n\nWhen the script is invoked with:\n\n- add - Add the user to the linux system, then add the user to a 'default' group then add the user to the samba password database\n- del - Delete the user account from the samba user database then remove the user from the system. The users home directory will not be deleted.\n- pass - Modify both the system and samba passwords. As the script was put together in a bit of a rush it will ask the person running the script for the new password 4 times ( twice for the local system and twice again for the samba database )\n- \"gibberish\"|help - The script will show you some help\n- manual - The script will show you the manual commands you would need to perform the tasks manually  \n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmcrmonkey%2Fuserop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmcrmonkey%2Fuserop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmcrmonkey%2Fuserop/lists"}