[sork] other account management utility

Gaudenz Steinlin gaudenz@soziologie.ch
08 Sep 2002 22:56:18 +0200


On Sun, 2002-09-08 at 21:48, Chuck Hagenbuch wrote:
> I can't seem to follow your link at the moment - well, the download just
> popped up, but it's going quite slow - can you give us a rundown of what's
> in it that's not currently in Sork?

The download is only about 50k. It's not really a big file.

Here I will try to summarize the funktions of my module (I currently do
not have a complete overview of whats in sork, so I can't tell you much
about the differencies):

- General
  - Everything is based on an extensible architecture. All the 
    functions are implemented as drivers. So you can eg. simply write
    a little "pasword changing driver" and have another method to 
    change passwords. I will lists which drivers are currently 
    available for each subcompenent.
  - You have to finally judge this, but I think I have a quite clean 
    codebase, that can be extended easily. 
  - unfortunately some comments in the code may be in german :-(

- Account Info
  - shows Realname, login name, primary group, additional groups 
    from unix passwd and group files
  - shows quota information by running qouta command
  - driver: unix_files

- password changing
  - change the password by running an expect script from the webserver.
    This script logs into the server with ssh or telnet an changes the
    password. It handles some difficulties (different prompts, ...) and 
    tries to give meaningful error messages.
  - driver: expect

- email forwarding
  - add one or more forwarding-addresses. 
  - delete forwarding addresses
  => you can not only forward your mail to one address, you can have a 
     list of multiple addresses. This could be extended to a simple 
     mailinglist manager.
  - this part handels also some aspects of "vacation" (everything 
    related to forwarding to the vacation program by the 
    sendmail_vacation driver)
  - driver: sendmail_ftp: copys .forward file via ftp to the server

- vacation message
  - wirte a vacation message
  - enable/disable vacation messages and autoreplys
  - driver: sendmail_vacation


I hope this helps to give a brief overview.

- gaudenz