Contribute  :  Support  :  Downloads  :  Forum  :  Links  :  Polls  :  Calendar  :  Directory  :  Advanced Search  
Geeklog The Ultimate Weblog System
Welcome to Geeklog
Friday, May 16 2008 @ 05:56 AM EDT
   

Geeklog, and UNIX user accounts?

GeeklogHow difficult would it be to have GL set up, so when a person creates a new user account, it creates a *nix account on the machine itself?

Or something to that extent, as i run free email services from my machine, and all my email users are actuall accounts on the machine, and i would like people to be able to create accounts freely from the website, prefferably from the GL user creation page, then they could begin using their email services immediately, instead of myself having to create the unix accounts myself

Story Options

Geeklog, and UNIX user accounts? | 2 comments | Create New Account
The following comments are owned by whomever posted them. This site is not responsible for what they say.
Geeklog, and UNIX user accounts?
Authored by: Tony on Monday, February 10 2003 @ 10:26 AM EST
It should be as simple as creating a setuid script in C or your favorite shell scripting language and then calling it in Geeklog from using the exec() function.

Be sure to secure your setuid script and I'd give serious thought to using a different MTA (i.e. Courier) that allows you to create virtual accounts (i.e. don't have to have a valid file system account).

---
The reason people blame things on previous generations is that there's only one other choice.
Re: Geeklog, and UNIX user accounts?
Authored by: sardu on Monday, February 10 2003 @ 07:00 PM EST

I'll second Tony's suggestion.

If you're running an email service like that you should look at using virtual users not only for security reasons but the various virtual user packages are designed specifically for this and often make it a lot easier.

Obligatory links

Qmail users could simply add a few lines of code in createuser (public_html/users.php) to create a .qmail-user file in the alias account with the contents set to one of the various dot-qmail formats like &mail@example.com to forward the mail, or get crafty and use /path/to/geeklog/mail/user/ to store in maildir format inside the geeklog directory so you can provide a mail preview phpblock

---
Lucas Thompson, sardu@mac,com