| 1 | comment "Runtime Configuration"
|
|---|
| 2 |
|
|---|
| 3 | config FWRT_RUNTIME_PACKAGES_URL
|
|---|
| 4 | string "Packages URL"
|
|---|
| 5 | default ""
|
|---|
| 6 | help
|
|---|
| 7 | Predefine the URL where "ipkg" looks for packages
|
|---|
| 8 | @TARGET@ works as placeholder for "<boardtype>-<kernel>" i.e. "brcm-2.4"
|
|---|
| 9 | so you can configure different URLs for different targets with a single string
|
|---|
| 10 |
|
|---|
| 11 | Leave empty to use distribution default:
|
|---|
| 12 | http://www.freewrt.org/downloads/@VERSION@/@TARGET@/packages
|
|---|
| 13 |
|
|---|
| 14 | config FWRT_RUNTIME_PASSWORD
|
|---|
| 15 | string "admin and root password"
|
|---|
| 16 | default "FreeWRT"
|
|---|
| 17 | help
|
|---|
| 18 | Predefine the admin and root password enabled in the the built image
|
|---|
| 19 | - Leave empty to disable password login
|
|---|
| 20 |
|
|---|
| 21 |
|
|---|
| 22 | choice
|
|---|
| 23 | prompt "SSH password login configuration"
|
|---|
| 24 |
|
|---|
| 25 | config FWRT_RUNTIME_SSH_DISABLE_PASSWORD_FOR_ROOT
|
|---|
| 26 | bool "Disable password logins as root"
|
|---|
| 27 | help
|
|---|
| 28 | With this selection only non-root users are allowed to login
|
|---|
| 29 |
|
|---|
| 30 | root -> with key only
|
|---|
| 31 | non-root -> with password and key
|
|---|
| 32 |
|
|---|
| 33 | USE WITH CARE!
|
|---|
| 34 | PASSWORD LOGINS AS ROOT ARE NOT SAFE IN THE INTERNET.
|
|---|
| 35 |
|
|---|
| 36 | config FWRT_RUNTIME_SSH_DISABLE_NOTHING
|
|---|
| 37 | bool "Enable password login for root and non-root users"
|
|---|
| 38 | help
|
|---|
| 39 | With this selection all users are allowed to login with password
|
|---|
| 40 |
|
|---|
| 41 | root -> with password and key
|
|---|
| 42 | non-root -> with password and key
|
|---|
| 43 |
|
|---|
| 44 | USE WITH CARE!
|
|---|
| 45 | PASSWORD LOGINS AS ROOT ARE NOT SAFE IN THE INTERNET.
|
|---|
| 46 |
|
|---|
| 47 | config FWRT_RUNTIME_SSH_DISABLE_PASSWORD
|
|---|
| 48 | bool "Disable password logins"
|
|---|
| 49 | help
|
|---|
| 50 | If you select this you will only be able to login using your supplied
|
|---|
| 51 | public key. Password logins will be disabled.
|
|---|
| 52 |
|
|---|
| 53 | root -> with key only
|
|---|
| 54 | non-root -> with key only
|
|---|
| 55 |
|
|---|
| 56 | THIS REQUIRES YOU TO PROVIDE AN SSH PUBLIC KEY!
|
|---|
| 57 |
|
|---|
| 58 | config FWRT_RUNTIME_SSH_DISABLE_ROOT
|
|---|
| 59 | bool "Disable root logins"
|
|---|
| 60 | help
|
|---|
| 61 | With this selection only non-root users are allowed to login
|
|---|
| 62 |
|
|---|
| 63 | root -> not allowed
|
|---|
| 64 | non-root -> with password and key
|
|---|
| 65 |
|
|---|
| 66 | #config FWRT_RUNTIME_SSH_DISABLE_ROOT_AND_PASSWORD
|
|---|
| 67 | # bool "Disable root logins and password logins"
|
|---|
| 68 | # help
|
|---|
| 69 | # With this selection only non-root users are allowed to login
|
|---|
| 70 | # and only with public key.
|
|---|
| 71 | #
|
|---|
| 72 | # root -> not allowed
|
|---|
| 73 | # non-root -> with key only
|
|---|
| 74 |
|
|---|
| 75 | endchoice
|
|---|
| 76 |
|
|---|
| 77 |
|
|---|
| 78 | config FWRT_RUNTIME_SSHKEY
|
|---|
| 79 | string "SSH public key (root user only)"
|
|---|
| 80 | default ""
|
|---|
| 81 | help
|
|---|
| 82 | Paste your generated SSH public key here and it will be embedded into
|
|---|
| 83 | the built image, so you can use it to login instantly.
|
|---|