Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I currently have apache setup for my webserver, and I have sendmail successfully configured, and pop3 access. Everything works great using an Email client.
What I am looking for is a webmail client that allows users to setup a new account on the email server. I had a server/webmail combo in Windows that allowed users to do this. I have been looking at alot of webmail clients, but I can't seem to find one that allows this. Of course I want it to look good too.
Alright....well nobody responded to this...so here's another question. I have squirrelmail setup, and it works fine...not too pretty, but it gets the job done. I found a change_password plugin that will allow users to change their passwords.
So for now, anyone that wants an account has to email me, and I setup the account with the group "mail" and "/bin/false" so they can't use SSH and I create a default password.
What I want to know is, is there a way to do all of this through PHP? Like create a signup button, and use forms where they create a username and password, and PHP creates the account, sets the group, and the shell?
Well, if you have experience in PHP, the short answer is YES. There are 2 ways to do it. The easy way is to use shell commands, but let me tell you do not do it this way! You should do it programatically, but it still shouldn't be too difficult.
I wish I could. I followed the link in your sig and noticed you were using vBulletin on your page which may complicate things, I'm just guessing though. Alot depends on how you have vBulletin and Squirrelmail set up to do your authentication. If you even think about this, I would get a good reference manual or at least have a bookmark to the php.net reference section. I'm almost positive there is a function to do just about anything anyone would want. If you do your own research or get "in" with another vBulletin user you'll see it isn't too difficult, but it will take some study. Sorry I can't offer you more than that.
I don't see whats wrong with doing this with shell commands.. If you can use perl, you just enclose any commands you want to execute in backticks, so the following would create a file with the string "hello" in it:
`echo 'hello' > somefile.txt`
While this method isn't very fast it should work just fine.