From: Wil C. <wc...@na...> - 2001-11-29 01:28:07
|
Hi,=20 I've written a little module to teach myself about the internals of Webmin, especially the RPC stuff. So, I wrote one that presents the user with a list of users (from user-lib.pl:list_users) and a list of configured Webmin hosts and allows him to create a home directory for the user, based on the configuration on the remote host (user's GID, home directory path, skel path, etc). But rather than being useful just as a user module, I thought it might also be useful to other module writers. (Me, in particular.) You can pull it down from here: http://nakedape.cc/~wcooley/src/create_homedir.wbm I'd like to get other people's input on what I could improve. ACLs are what I'm planning to implement next. I'm planning a fairly ambitious module I'm calling "Directory Manager", which will allow one to administer users, groups, hosts, and other things managed through the name-service switch. Initially, I'm going to make it work just with LDAP, since that's what I'm interested in, but I'm hoping to make it modular enough that people will add db, postgres, mysql support as necessary. (I'm planning to reuse some of the work that's already gone into creating ldap-user utilities.) Wil --=20 W. Reilly Cooley wc...@na... Naked Ape Consulting http://nakedape.cc irc.linux.com #orlug,#pdxlug,#lnxs The most costly of all follies is to believe passionately in the palpably not true. It is the chief occupation of mankind. -- H.L. Mencken |