user ubuntu-devel@lists.ubuntu.com usertag 36019 + ubuntu-patch lucid tag 36019 + patch thanks How about the attached patch as a starting point? It adds: /usr/share/adduser/add-user.d/ /usr/share/adduser/del-user.d/ /usr/share/adduser/add-group.d/ /usr/share/adduser/del-group.d/ /etc/adduser/add-user.d/ /etc/adduser/del-user.d/ /etc/adduser/add-group.d/ /etc/adduser/del-group.d/ Which all do as you would expect. All the directories get passed to run-parts after the appropriate event (adding/deleting users/groups). The group scripts get passed "$group_name $gid", the user scripts get passed "$user_name $uid $gid $home_dir". Eh? -- mterry • Canonical _______________________________________________ Adduser-devel mailing list Adduser-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/adduser-devel
Debian Bug Tracking System
2010-Mar-16 19:42 UTC
[Adduser-devel] Processed: proposed patch
Processing commands for control at bugs.debian.org:> user ubuntu-devel at lists.ubuntu.comSetting user to ubuntu-devel at lists.ubuntu.com (was michael.terry at canonical.com).> usertag 36019 + ubuntu-patch lucidBug#36019: hooks: /etc/adduser/{pre,post}{user,group}{add,del}.d/ There were no usertags set. Usertags are now: ubuntu-patch lucid.> tag 36019 + patchBug #36019 [adduser] hooks: /etc/adduser/{pre,post}{user,group}{add,del}.d/ Bug #223932 [adduser] adduser: Hooks for adding/deleting users to/from groups Bug #394886 [adduser] adduser does not work if libpam-smbpass is enabled Added tag(s) patch. Added tag(s) patch. Added tag(s) patch.> thanksStopping processing here. Please contact me if you need assistance. Debian bug tracking system administrator (administrator, Debian Bugs database)