Package name length

sahostking

Verified User
Joined
Jan 29, 2021
Messages
9
Location
South Africa
Hi guys

We want to transfer accounts from cPanel to Directadmin. But I would like to keep the package names the same.

Currently we use something like

hostking_cpanel_starter_2021

but

Directadmin has a limit of 20 characters. How could I increase this limitation?

Thanks
 

jamgames2

Verified User
Joined
Aug 16, 2019
Messages
521
Increase Username length

package names length larger than 20, In the past I don't see options like this before

but you can simple create package and change name it directly in
/usr/local/directadmin/data/users/{reseller}/packages
/usr/local/directadmin/data/users/{reseller}/packages.list
 

Richard G

Verified User
Joined
Jul 6, 2008
Messages
7,235
Location
Maastricht
but you can simple create package and change name it directly in
I wouldn't just do that. Because if there is a limit of 20 chars and you are going to name them longer via the files used, this could result in to shorter names in the panel anyway or maybe odd issues with backups/restore.

So I would look if those names can't be increase in some official way and if that is not possible, decrease your names. For example loose the year. Change cpanel to "da" because you ain't on cpanel anymore, seems more logic. And the name is shorter.
 

sahostking

Verified User
Joined
Jan 29, 2021
Messages
9
Location
South Africa
Thanks to both of you

I did try it an it worked perfectly.

Although to play safe I know of a way in doing it on cPanel so will do it there rather
 
Top