Bug 455668

Summary: Add possibility to have a script run when creating/deleting a user
Product: [Applications] systemsettings Reporter: silopolis <silopolis>
Component: kcm_usersAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED INTENTIONAL    
Severity: wishlist CC: kde, nate, uhhadd
Priority: NOR    
Version First Reported In: 5.24.5   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

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.