Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 30th March 2006, 16:55
domi-nik domi-nik is offline
Junior Member
 
Join Date: Mar 2006
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to create short user name ,less than 4 letters?

Hi
I have to create a user with short 3 letter name.
Ispconfig default is 4-32.
Any idea?

Dominik

Please, correct my English.
Reply With Quote
Sponsored Links
  #2  
Old 30th March 2006, 22:23
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,591
Thanks: 792
Thanked 4,983 Times in 3,903 Posts
Default

You can change the regular expression for the username in the file /home/admispconfig/ispconfig/lib/plugins/isp_username.plugin.php
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 30th March 2006, 23:42
domi-nik domi-nik is offline
Junior Member
 
Join Date: Mar 2006
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Thumbs up It works.

Thanks, all is ok.
Reply With Quote
  #4  
Old 20th June 2007, 21:03
cryptic cryptic is offline
Senior Member
 
Join Date: Sep 2006
Posts: 136
Thanks: 5
Thanked 2 Times in 2 Posts
Default

What do you edit in this file? I need users with 2 letter user names.

Thanks!
Reply With Quote
  #5  
Old 21st June 2007, 11:36
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,591
Thanks: 792
Thanked 4,983 Times in 3,903 Posts
 
Default

Change the regular expression from:

"/^[a-z][\w\.\-\_]{3,64}$/"

to:

"/^[a-z][\w\.\-\_]{2,64}$/"

in line 144.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
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
Can't create email user mzo Installation/Configuration 10 27th February 2008 13:16
User deleted from user groups bogdinator General 2 28th March 2006 21:26
Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP-AUTH, Quota, SpamAs pontifex HOWTO-Related Questions 2 26th October 2005 17:54
Can't Create a User Account for a new Website city Installation/Configuration 6 22nd October 2005 15:17


All times are GMT +2. The time now is 15:27.


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