I have an idea for a script for users to be able to change their own passwords in the smbldap setup.<br>Would it work?<br><br>Create a script with execute only permission for everyone except root.<br>The script would have one main line:
<br>sudo smbldap-passwd <name of user><br><br>Create a menu launcher for the script and put it under System, Settings, ChangeMyPassword<br><br>I imagine it like this.<br>A user clicks on the menu item. A window pops up asking for the password for <name of user>. Then it asks for the new password twice. Then the window closes.
<br><br>How would I automatically get the name of the currently logged in user?<br><br><br><br><br>