MySQL and/or PostgreSQL databases for new users?

William O'Higgins william.ohiggins-H217xnMUJC0sA/PxXw9srA at public.gmane.org
Wed May 18 02:39:12 UTC 2005


I administer a RHES machine, and as such I have the responsibility for
adding new users and setting them up with the various things they'll
need, like ~/public_html folders with the right permissions and
databases to play with.  I figure there is a way to write a script so
that this basic stuff gets triggered when I adduser, but I don't know
what that would be.

There are two questions:

1. What do I have to do to get a script to automatically do basic
housekeeping when I add a user?

2. How do I create a database and a user for each new user on the
system, preferably in both MySQL and PostgreSQL?

Thanks.
-- 

yours,

William

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://gtalug.org/pipermail/legacy/attachments/20050517/5c1282a1/attachment.sig>


More information about the Legacy mailing list