[Adduser-devel] Bug#36019: proposed patch

Michael Terry michael.terry at canonical.com
Tue Mar 16 19:39:50 UTC 2010


user ubuntu-devel at 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: adduser-hooks.diff
Type: text/x-patch
Size: 4049 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/adduser-devel/attachments/20100316/598aff8a/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/adduser-devel/attachments/20100316/598aff8a/attachment.pgp>


More information about the Adduser-devel mailing list