Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check for orphaned users & groups #12

Open
morgant opened this issue Apr 8, 2023 · 2 comments
Open

Check for orphaned users & groups #12

morgant opened this issue Apr 8, 2023 · 2 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@morgant
Copy link
Owner

morgant commented Apr 8, 2023

Solène Rapenne recently published a blog post regarding the shell script she wrote and uses on OpenBSD to check for users & groups created by an installed package which has since been uninstalled, orphaning the user/group:

https://dataswamp.org/~solene/2023-04-03-openbsd-delete-old-users.html

She has no plans to package the script and has approved the inclusion of its functionality in swupdate:

https://bsd.network/@solenepercent/110156280843492332

I probably won't automatically remove orphaned users/groups, but note & instruct users.

@morgant morgant self-assigned this Apr 8, 2023
@morgant morgant added the enhancement New feature or request label Apr 8, 2023
@morgant morgant added this to the 0.7 milestone Apr 8, 2023
@morgant morgant modified the milestones: 0.7, 0.8 Jul 2, 2023
@morgant
Copy link
Owner Author

morgant commented Oct 26, 2023

Someone mentioned on mastodon that sysclean now shows orphaned users & groups, so this can probably be closed as #13 will handle it. Naturally, I do need to test & confirm.

@morgant
Copy link
Owner Author

morgant commented Oct 27, 2023

It does look like users & groups support was added to sysclean in v3.4 with further fixes in v3.6. I'll still test before closing this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant