#1  
Old 27th November 2009, 06:21
shdwdrgn shdwdrgn is offline
Junior Member
 
Join Date: Nov 2009
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default One-stop user control

Are there any mods available or in the works to tie together mail/shell/ftp users into a single interface? It seems like with a little work to the Email Mailbox page, when a new mailbox is created, corresponding shell_user and ftp_user entries could also be added. Drop a couple of 'active' checkboxes on the page to enable/disable those types of logins, and you have a simplified, universal user control page.

Along that same line, has there been any consideration for including UID/GID fields for shell users, and using pam-mysql logins rather than having these users added to /etc/passwd?
Reply With Quote
Sponsored Links
  #2  
Old 27th November 2009, 11:12
Mark_NL Mark_NL is offline
Senior Member
 
Join Date: Sep 2008
Location: The Netherlands
Posts: 912
Thanks: 12
Thanked 100 Times in 96 Posts
Default

afaik that kind of stuff is removed from ispc3 .. it's all in ispc2 .. for me that was a big dissapointment, since co workers of mine manage those accounts, i just keep the servers alive .. with ispc3 they can't do that anymore, so i'm sticking with ispc2
Reply With Quote
  #3  
Old 27th November 2009, 11:36
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,990
Thanks: 825
Thanked 5,373 Times in 4,220 Posts
Default

Quote:
afaik that kind of stuff is removed from ispc3 .. it's all in ispc2 .. for me that was a big dissapointment, since co workers of mine manage those accounts, i just keep the servers alive .. with ispc3 they can't do that anymore, so i'm sticking with ispc2
You seem not to be up to date with the ispconfig 3 development. All functions from ispconfig 2 plus a lot more are implemented in ispconfig 3 and the mailuser login has been implemented as roundcube plugin so that your email users are able to manage their autorespoinders etc. themself.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #4  
Old 27th November 2009, 11:45
Mark_NL Mark_NL is offline
Senior Member
 
Join Date: Sep 2008
Location: The Netherlands
Posts: 912
Thanks: 12
Thanked 100 Times in 96 Posts
Default

aaah sweet, that's good news Till!

indeed i've been slacking on ispc3 dev tracking, just been swamped at work to follow it all I'll have a look at the new version soon.
Reply With Quote
  #5  
Old 28th November 2009, 07:03
shdwdrgn shdwdrgn is offline
Junior Member
 
Join Date: Nov 2009
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

In the file /usr/local/ispconfig/interface/web/mail/templates/mail_user_mailbox_edit.htm I added the following lines:
Code:
<div class="ctrlHolder">
  <label for="uid">{tmpl_var name='user_uid_txt'}</label>
  <input name="uid" id="uid" value="{tmpl_var name='uid'}" size="30" maxlength="5" type="text" class="textInput formLengthLimit" /><p class="formInputUnity"></p>
</div>
When I pull up a mail user, it does show the expected value (5000) for the vmail user, however changing the value does not update the database. Could you please point me in the right direction on what I need to change so that the database is updated when I enter a new value?
Reply With Quote
  #6  
Old 28th November 2009, 15:37
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,990
Thanks: 825
Thanked 5,373 Times in 4,220 Posts
Default

You can not run the mailsystem under different userid's. ISPConfig uses virtual mailusers and the mailuser for all accounts have the name vmail. Thats why there is no field in the interface, so you should remove the code that you added to the template. If you want to use linux system users for email, use ispconfig 2 and not 3.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.

Last edited by till; 28th November 2009 at 15:51.
Reply With Quote
  #7  
Old 28th November 2009, 17:42
shdwdrgn shdwdrgn is offline
Junior Member
 
Join Date: Nov 2009
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yes I realize ispconfig3 runs with virtual users, but this is only one of a handful of changes I'm doing. I'm also using the gid and homedir fields, and have libnss-mysql pulling login info from the mail_user table. The changes I have made thus far are pretty minor, except I added a 'shell' column to the table.

The only issue I have right now is that I have to manually change these values in the database, as they are not updated when I change them from the ispconfig interface. So I ask again, could you please point me to where in the code the other values from this page get entered back into the database, so I can add my own lines to update these entries?
Reply With Quote
  #8  
Old 28th November 2009, 18:31
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,990
Thanks: 825
Thanked 5,373 Times in 4,220 Posts
Default

You will have to add the fileds to the mail_user form file too, which is in the forms directory of the mail module.

See here for infos on how the ispconfig interface forms work.

http://www.howtoforge.com/forums/showthread.php?t=23335
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #9  
Old 30th November 2009, 08:18
shdwdrgn shdwdrgn is offline
Junior Member
 
Join Date: Nov 2009
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Great info, thanks! I'm making good progress now. Have a single form in ispconfig to create email/shell/ftp accounts. All info is being set in the database now. I have all ispconfig users logging in with their full email address (which was a pain... discovered getty doesn't accept the @ key, but mingetty does).

So now I just need to smooth out my interface... make sure proper permissions are set with directories, set some default entries when a new user is created, that kind of stuff. Once I get it all smoothed out, I'll write up a thread on the conversion process.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Statistic not working mzo Installation/Configuration 49 20th April 2011 12:19
High on Lenny - Lvm Mount Problem Serverman Technical 1 23rd June 2009 16:26
The system is currently updating the configuration files. warlock General 8 21st February 2009 18:15
Monit & Munin SamTzu HOWTO-Related Questions 1 4th May 2008 18:03
Ruby / FastCGI Problem Chad Server Operation 1 8th March 2008 20:38


All times are GMT +2. The time now is 13:51.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.