On Sat, 2002-02-23 at 19:19, Faheem Mitha wrote: > > In your account creation script: > > > > cat README | mail -e -s "Subject of your message" [EMAIL PROTECTED] > > Would /usr/local/sbin/adduser.local be an appropriate place to put this? > > Man adduser says " If the file /usr/local/sbin/adduser.local exists, it > will be executed after the user account has been set up in order to do any > local setup. The arguments passed to adduser.local are: username uid gid > home-directory". > > So perhaps something like > > cat README | mail -e -s "please read this information for new users" [EMAIL > PROTECTED] ?
It sounds like a sensible place to put it. Try it and see! -- Oliver Elphick [EMAIL PROTECTED] Isle of Wight http://www.lfix.co.uk/oliver GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C "All scripture is given by inspiration of God, and is profitable for doctrine, for reproof, for correction, for instruction in righteousness; That the man of God may be perfect, thoroughly furnished unto all good works." II Timothy 3:16,17