Suggestion: Password new FTP account

wavoe

Verified User
Joined
Nov 21, 2007
Messages
83
Location
Belgium
Hi,

When you create a new FTP account for a user via /HTM_FTP_CREATE, you can create a random password.
You can see the random password in the inputbox, but an atribute of this inputbox is 'disabled', so you can not select the password.
What if you chance the atribute name to 'readonly', so you can select the password?
It is a small thing but it is just to make it easier.

Thanks
 
If you are using the enhanced skin:

Code:
perl -pi -e 's/disabled/readonly/' /usr/local/directadmin/data/skins/enhanced/user/ftp/ftp_create.html

I know, I know. You are going to say that every time DA updates the changes will get overwritten.

Code:
echo "0 0 * * * perl -pi -e 's/disabled/readonly/' /usr/local/directadmin/data/skins/enhanced/user/ftp/ftp_create.html" >> /var/spool/cron/root

This will update the skin every day.
 
Back
Top