[PR #450] [CLOSED] For ubuntu-22.04 the script to delete users was not working so, versi… #460

Closed
opened 2026-03-03 14:31:17 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/konstruktoid/hardening/pull/450
Author: @taragurung
Created: 7/9/2024
Status: Closed

Base: masterHead: user-delete-fix


📝 Commits (6)

  • 47f9ca4 For ubuntu-22.04 the script to delete users was not working so, version check added
  • 5f2374e chore: sudo removed, counter added inside function
  • 27a539a chores: delete users bastion script modified
  • b12ba18 chores: removed other process kill related steps
  • 6eae70a chores: checks removed
  • 9da0ba2 chores: var removed

📊 Changes

1 file changed (+4 additions, -3 deletions)

View changed files

📝 scripts/users (+4 -3)

📄 Description

  1. user delete script was not working
  2. added deletion script with version check, for Ubuntu:22.04 added new code to work for other version the previous code will run as it is.

Not sure if its an issue in other version but for Ubuntu:22.04 it will work


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/konstruktoid/hardening/pull/450 **Author:** [@taragurung](https://github.com/taragurung) **Created:** 7/9/2024 **Status:** ❌ Closed **Base:** `master` ← **Head:** `user-delete-fix` --- ### 📝 Commits (6) - [`47f9ca4`](https://github.com/konstruktoid/hardening/commit/47f9ca407d0d2041107bd9505d8a11446e4c5b9a) For ubuntu-22.04 the script to delete users was not working so, version check added - [`5f2374e`](https://github.com/konstruktoid/hardening/commit/5f2374e476833bc87a7b2f0db06f70930e3512a5) chore: sudo removed, counter added inside function - [`27a539a`](https://github.com/konstruktoid/hardening/commit/27a539af5051112f4a1e99931431161b99c64637) chores: delete users bastion script modified - [`b12ba18`](https://github.com/konstruktoid/hardening/commit/b12ba183a3c02bb74189556d04106b63d6222741) chores: removed other process kill related steps - [`6eae70a`](https://github.com/konstruktoid/hardening/commit/6eae70a984e9ed1cf2b1805e3f7591da29e7938d) chores: checks removed - [`9da0ba2`](https://github.com/konstruktoid/hardening/commit/9da0ba25f151ab8ab6b800f58af766c579aa67db) chores: var removed ### 📊 Changes **1 file changed** (+4 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `scripts/users` (+4 -3) </details> ### 📄 Description 1. user delete script was not working 2. added deletion script with version check, for Ubuntu:22.04 added new code to work for other version the previous code will run as it is. Not sure if its an issue in other version but for Ubuntu:22.04 it will work --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-03 14:31:17 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hardening#460
No description provided.