Bug 455668 - Add possibility to have a script run when creating/deleting a user
Summary: Add possibility to have a script run when creating/deleting a user
Status: RESOLVED INTENTIONAL
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_users (other bugs)
Version First Reported In: 5.24.5
Platform: Debian testing Linux
: NOR wishlist
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-20 18:18 UTC by silopolis
Modified: 2025-10-23 15:24 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description silopolis 2022-06-20 18:18:37 UTC
SUMMARY

It would be very handful to be able to have a script run when a user is create or deleted. As there are a lot of actions potentially triggered by the actions, it make a simple and easy way to perform these and integrate into organization.

EXPECTED RESULT
Depending if add and delete scripts are separate options or not, have a script run like:

`/path/to/script [add|delete]  <user form fields as parameters>

when a user is added or deleted.


SOFTWARE/OS VERSIONS
Linux: Kali Linux 2022.2 5.17.0-kali3-amd64
KDE Plasma Version:  5.24.5
KDE Frameworks Version:  5.94.0
Qt Version:  5.15.2

ADDITIONAL INFORMATION
See Debian's `adduser` (https://manpages.debian.org/bullseye/adduser/adduser.8.en.html ) for a similar feature with the `/usr/local/sbin/adduser.local` file, and `deluser` (https://manpages.debian.org/bullseye/adduser/deluser.8.en.html) with `/usr/local/sbin/deluser.local` file.

Thanks in advance for your consideration

TY
Jérémie
Comment 1 David Edmundson 2025-10-23 15:24:22 UTC
This is out of scope at a KDE level.