[Adduser-devel] A simple script upon adduser.

Stephen Gran sgran at debian.org
Sun Feb 18 16:37:34 CET 2007


This one time, at band camp, Joel Bryan Juliano said:
> Hello,
> 
> I like to create a script that will copy randomly any pictures from
> /usr/share/faces/ to $HOME/.face if it doesn't exist upon
> creating an account.
> 
> I can't figure out how to do it.
> Can anyone please help me?

It sounds like you want to use an adduser.local script.  Please see the
files under /usr/share/doc/adduser/examples/

Take care,
-- 
 -----------------------------------------------------------------
|   ,''`.                                            Stephen Gran |
|  : :' :                                        sgran at 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/20070218/4c4876a6/attachment.pgp


More information about the Adduser-devel mailing list