Skip to content

Commit f65c474

Browse files
committed
small fixes for FTP scripts
1 parent 063a412 commit f65c474

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

customization/bin/ftp_enable.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -198,15 +198,15 @@ mainmenu() {
198198
echo " With choosing hn like h1 , you get some help about the topic"
199199
echo " Every other button is a clean exit. "
200200
echo " "
201-
read -p " Coose an option: " option
201+
read -p " Choose an option: " option
202202

203203
case $option in
204204
("1") _toggle_ "FTP_ENABLED" ;;
205205
("2") _toggle_ "ADMIN_ACCESS" ;;
206206
("3") _toggle_ "ENABLE_SYNC" ;;
207207
("4") _toggle_ "ENABLE_ANON" ;;
208-
("5") passwd $SYNC_SYSTEM_USER ;;
209-
("6") passwd $BOX_SYSTEM_USER ;;
208+
("5") echo "System-User for Sync Access is $SYNC_SYSTEM_USER" && passwd $SYNC_SYSTEM_USER ;;
209+
("6") echo "System-User for Admin access is $BOX_SYSTEM_USER" && passwd $BOX_SYSTEM_USER ;;
210210
("h1") print_help_ftp ;;
211211
("h2") print_help_admin ;;
212212
("h3") print_help_sync ;;

customization/conf/ftp/proftpd.conf.schema

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ AuthUserFile /etc/shadow
2222
AllowOverwrite on
2323
UserAlias #####BOX_USER##### #####BOX_SYSTEM_USER#####
2424
DefaultRoot #####ADMIN_FOLDER##### #####BOX_SYSTEM_GROUP#####
25+
DefaultChdir /
2526
<Limit LOGIN>
2627
DenyAll
2728
#####ADMIN_ACCESS#####

0 commit comments

Comments
 (0)