Hi, I have downloaded the debian adduser source and I like to modify it to add a custom script upon adding a user. How do I add my custom scripts to the source?
This one time, at band camp, Joel Bryan Juliano said:> Hi, > > I have downloaded the debian adduser source and I like to modify it > to add a custom script upon adding a user. How do I add my custom > scripts to the source?If I understand you correctly, you are asking about a custom adduser.local? Have a look in /usr/share/doc/adduser/examples/ for examples of the sorts of things people have done. -- ----------------------------------------------------------------- | ,''''`. Stephen Gran | | : :'' : sgran@debian.org | | `. `'' Debian user, admin, and developer | | `- http://www.debian.org | ----------------------------------------------------------------- -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Digital signature Url : http://lists.alioth.debian.org/pipermail/adduser-devel/attachments/20070212/f7e0d5b0/attachment.pgp
On 2/12/07, Stephen Gran <sgran@debian.org> wrote:> This one time, at band camp, Joel Bryan Juliano said: > > Hi, > > > > I have downloaded the debian adduser source and I like to modify it > > to add a custom script upon adding a user. How do I add my custom > > scripts to the source? > > If I understand you correctly, you are asking about a custom > adduser.local? > > Have a look in /usr/share/doc/adduser/examples/ for examples of the > sorts of things people have done.Thanks for your reply! What I''m trying to do is to create a custom adduser debian package for a custom debian based distribution. I would like to modify the adduser source so it will contain the custom scripts upon creating the users, is the method above the same way of creating a custom scripts in the adduser source to be debianized? Thanks Again! Joel> -- > ----------------------------------------------------------------- > | ,''''`. Stephen Gran | > | : :'' : sgran@debian.org | > | `. `'' Debian user, admin, and developer | > | `- http://www.debian.org | > ----------------------------------------------------------------- > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.1 (GNU/Linux) > > iD8DBQFF0EJZSYIMHOpZA44RAkyQAKCht0Pto/vwlgVez+6ljHE4y1s1FQCgmUiy > Cwxo6e4Ayk2J1V20Oq3apZo> =Jvy0 > -----END PGP SIGNATURE----- > >-- Carpe Diem
This one time, at band camp, Joel Bryan Juliano said:> On 2/12/07, Stephen Gran <sgran@debian.org> wrote: > >This one time, at band camp, Joel Bryan Juliano said: > >> Hi, > >> > >> I have downloaded the debian adduser source and I like to modify it > >> to add a custom script upon adding a user. How do I add my custom > >> scripts to the source? > > > >If I understand you correctly, you are asking about a custom > >adduser.local? > > > >Have a look in /usr/share/doc/adduser/examples/ for examples of the > >sorts of things people have done. > > Thanks for your reply! > > What I''m trying to do is to create a custom adduser debian package for > a custom debian based distribution. I would like to modify the adduser > source so it will contain the custom scripts upon creating the users, > is the method above the same way of creating a custom scripts in the > adduser source to be debianized?adduser will run /usr/local/sbin/adduser.local, if it exists. I would suggest that if you want a custom script to be run, you just ship the custom script in the prescribed location. Take care, -- ----------------------------------------------------------------- | ,''''`. Stephen Gran | | : :'' : sgran@debian.org | | `. `'' Debian user, admin, and developer | | `- http://www.debian.org | ----------------------------------------------------------------- -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Digital signature Url : http://lists.alioth.debian.org/pipermail/adduser-devel/attachments/20070212/e8e2235b/attachment.pgp