| 1 |
comment "Runtime Configuration" |
| 2 |
|
| 3 |
choice |
| 4 |
prompt "Choose the login shell for the admin user" |
| 5 |
default FWRT_BASEFILES_ADMIN_MKSH |
| 6 |
help |
| 7 |
Choose a shell which is to be used as the default login |
| 8 |
shell for the "admin" user. Only shells selected above |
| 9 |
can be chosen. |
| 10 |
|
| 11 |
config FWRT_BASEFILES_ADMIN_MKSH |
| 12 |
depends FWRT_PACKAGE_MKSH |
| 13 |
bool " mksh" |
| 14 |
help |
| 15 |
mksh is the MirBSD enhanced version of the Public Domain Korn |
| 16 |
shell (pdksh), a bourne-compatible shell which is largely similar |
| 17 |
to the original AT&T Korn shell. It includes bug fixes and |
| 18 |
feature improvements in order to produce a modern, robust shell |
| 19 |
good for interactive and especially script use. Some sh/ksh/pdksh |
| 20 |
compatibility kludges have been removed. |
| 21 |
|
| 22 |
config FWRT_BASEFILES_ADMIN_BASH |
| 23 |
depends FWRT_PACKAGE_BASH |
| 24 |
bool " GNU bash" |
| 25 |
help |
| 26 |
bash is the GNU "bourne-again" shell, a pretty bloated bourne |
| 27 |
compatible shell with some basic korn shell extensions and a |
| 28 |
few home-grown ones. Because it's very big and slow, it can't |
| 29 |
be selected as /bin/sh. |
| 30 |
|
| 31 |
config FWRT_BASEFILES_ADMIN_ZSH |
| 32 |
depends FWRT_PACKAGE_ZSH |
| 33 |
bool " zsh" |
| 34 |
help |
| 35 |
zsh is a powerful, bloated not-quite bourne (and even less |
| 36 |
korn) compatible shell with rich features for interactive |
| 37 |
uses. It cannot be selected as /bin/sh but as login shell. |
| 38 |
|
| 39 |
config FWRT_BASEFILES_ADMIN_SH |
| 40 |
bool " /bin/sh" |
| 41 |
help |
| 42 |
Fall-back: use /bin/sh, whatever it is. |
| 43 |
|
| 44 |
endchoice |
| 45 |
|
| 46 |
config FWRT_RUNTIME_PACKAGES_URL |
| 47 |
string "Packages URL" |
| 48 |
default "" |
| 49 |
help |
| 50 |
Predefine the URL where "ipkg" looks for packages |
| 51 |
@TARGET@ works as placeholder for "<boardtype>-<kernel>" i.e. "brcm-2.4" |
| 52 |
so you can configure different URLs for different targets with a single string |
| 53 |
|
| 54 |
Leave empty to use distribution default: |
| 55 |
http://www.freewrt.org/downloads/@VERSION@/@TARGET@/packages |
| 56 |
|
| 57 |
config FWRT_RUNTIME_PASSWORD |
| 58 |
string "admin and root password" |
| 59 |
default "FreeWRT" |
| 60 |
help |
| 61 |
Predefine the admin and root password enabled in the the built image |
| 62 |
- Leave empty to disable password login |
| 63 |
|
| 64 |
|
| 65 |
choice |
| 66 |
prompt "SSH password login configuration" |
| 67 |
|
| 68 |
config FWRT_RUNTIME_SSH_DISABLE_PASSWORD_FOR_ROOT |
| 69 |
bool " Disable password logins as root" |
| 70 |
help |
| 71 |
With this selection only non-root users are allowed to login |
| 72 |
|
| 73 |
root -> with key only |
| 74 |
non-root -> with password and key |
| 75 |
|
| 76 |
USE WITH CARE! |
| 77 |
PASSWORD LOGINS AS ROOT ARE NOT SAFE IN THE INTERNET. |
| 78 |
|
| 79 |
config FWRT_RUNTIME_SSH_DISABLE_NOTHING |
| 80 |
bool " Enable password login for root and non-root users" |
| 81 |
help |
| 82 |
With this selection all users are allowed to login with password |
| 83 |
|
| 84 |
root -> with password and key |
| 85 |
non-root -> with password and key |
| 86 |
|
| 87 |
USE WITH CARE! |
| 88 |
PASSWORD LOGINS AS ROOT ARE NOT SAFE IN THE INTERNET. |
| 89 |
|
| 90 |
config FWRT_RUNTIME_SSH_DISABLE_PASSWORD |
| 91 |
bool " Disable password logins" |
| 92 |
help |
| 93 |
If you select this you will only be able to login using your supplied |
| 94 |
public key. Password logins will be disabled. |
| 95 |
|
| 96 |
root -> with key only |
| 97 |
non-root -> with key only |
| 98 |
|
| 99 |
THIS REQUIRES YOU TO PROVIDE AN SSH PUBLIC KEY! |
| 100 |
|
| 101 |
config FWRT_RUNTIME_SSH_DISABLE_ROOT |
| 102 |
bool " Disable root logins" |
| 103 |
help |
| 104 |
With this selection only non-root users are allowed to login |
| 105 |
|
| 106 |
root -> not allowed |
| 107 |
non-root -> with password and key |
| 108 |
|
| 109 |
#config FWRT_RUNTIME_SSH_DISABLE_ROOT_AND_PASSWORD |
| 110 |
# bool " Disable root logins and password logins" |
| 111 |
# help |
| 112 |
# With this selection only non-root users are allowed to login |
| 113 |
# and only with public key. |
| 114 |
# |
| 115 |
# root -> not allowed |
| 116 |
# non-root -> with key only |
| 117 |
|
| 118 |
endchoice |
| 119 |
|
| 120 |
|
| 121 |
config FWRT_RUNTIME_SSHKEY |
| 122 |
string "SSH public key (root user only)" |
| 123 |
default "" |
| 124 |
help |
| 125 |
Paste your generated SSH public key here and it will be embedded into |
| 126 |
the built image, so you can use it to login instantly. |