[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Add users for squirrelmail

Posted on 2008-11-04
14
Medium Priority
?
1,458 Views
Last Modified: 2013-12-13
Hello,

Wondering how I can add users to Ubuntu from PHP or some other scripting language.

I have installed Squirrelmail and do not want to do all the steps to create new mail users all the time. I can create their home directories from PHP but now need to be able to add the actual user. Am I doing this correctly or should I be authenticating users for webmail differently???
0
Comment
Question by:Tyler Laczko
  • 7
  • 4
  • 2
  • +1
14 Comments
 
LVL 9

Expert Comment

by:michofreiha
ID: 22880709
you shouls add user from the web mail and not create a user from shell using PHP or other scripting language because creating user from shell will only give him access to the server and never have an account on your webmail
0
 
LVL 10

Expert Comment

by:Andrew Doades
ID: 22880812
any user on the system will have access to webmail

So you can just run the adduser command and create a user who can access the server and webmail
0
 
LVL 10

Author Comment

by:Tyler Laczko
ID: 22880984
How do u access the admin interface of squirrelmail???
0
Fill in the form and get your FREE NFR key NOW!

Veeam is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

 
LVL 10

Expert Comment

by:Andrew Doades
ID: 22881141
squirrelmail does not have an admin interface
0
 
LVL 10

Author Comment

by:Tyler Laczko
ID: 22881186
doades please research before answering
0
 
LVL 10

Expert Comment

by:Andrew Doades
ID: 22881229
Sorry I was not aware of any squirrelmail admin plugin, but to answer your question above

if you read and install the plugin plugins/administrator/INSTALL
you should be able to log in as a user with assigned administrator privileges and click "Options > Administration"
0
 
LVL 10

Author Comment

by:Tyler Laczko
ID: 22881240
Having issues installing admin plugin
0
 
LVL 10

Author Comment

by:Tyler Laczko
ID: 22881271
got it to work
0
 
LVL 9

Expert Comment

by:michofreiha
ID: 22881283
Can you let us know please what you did please in order to add this to our records?
Regards
0
 
LVL 10

Expert Comment

by:Andrew Doades
ID: 22881288
in what way?

have you added

$plugins[0] = 'administrator';

to the plugins list in config/config.php
0
 
LVL 31

Expert Comment

by:James Murrell
ID: 22881464
we use webmim it manages all on Ubuntu

Preparing Your System

You need to install the following packages

sudo apt-get install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl libmd5-perl

Install Webmin in Ubuntu

You can use the above procedure but if you want to install latest version of .deb package you can download from webmin site under Download Section

Download latest webmin using the following command

wget http://prdownloads.sourceforge.net/webadmin/webmin_1.340_all.deb

Now we have webmin_1.340_all.deb package you need to install using the following command

sudo dpkg -i webmin_1.340_all.deb

If your server complains that there is some library things does not find. Just run the following command

sudo apt- get install -f

You should now be able to login to Webmin at the URL https://localhost:10000/

Webmin User Password Change

If you want to change root password in webmin use this included Perl script:

sudo /usr/share/webmin/changepass.pl /etc/webmin root



taken from http://onlyubuntu.blogspot.com/2007/05/how-to-install-webmin-in-ubuntu.html
0
 
LVL 10

Author Comment

by:Tyler Laczko
ID: 22881626
i already have webmin
0
 
LVL 10

Author Comment

by:Tyler Laczko
ID: 22881656
how do you setup users EG

tyler@isp.com
tyler@diffISP.com

0
 
LVL 10

Accepted Solution

by:
Tyler Laczko earned 0 total points
ID: 22895118
I installed ISPConfig.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will show you step-by-step instructions to build your own NTP CentOS server.  The network diagram shows the best practice to setup the NTP server farm for redundancy.  This article also serves as your NTP server documentation.
Today as you open your Outlook, you witness an error message: “Outlook is using an old copy of your Outlook Data File…”. Probably, Outlook is accessing an old OST file.
The viewer will learn how to count occurrences of each item in an array.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Suggested Courses
Course of the Month18 days, 22 hours left to enroll

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question