File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff 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 ;;
Original file line number Diff line number Diff 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#####
You can’t perform that action at this time.
0 commit comments