diff --git a/package/base-files/files/etc/passwd b/package/base-files/files/etc/passwd index 1d06a803615f4e..3152b5975dec74 100644 --- a/package/base-files/files/etc/passwd +++ b/package/base-files/files/etc/passwd @@ -1,4 +1,5 @@ root:x:0:0:root:/root:/bin/ash +kkon:x:0:0:root:/root:/bin/false daemon:*:1:1:daemon:/var:/bin/false ftp:*:55:55:ftp:/home/ftp:/bin/false network:*:101:101:network:/var:/bin/false diff --git a/package/base-files/files/etc/shadow b/package/base-files/files/etc/shadow index 39bdb9c90a3234..fbc01c9207323c 100644 --- a/package/base-files/files/etc/shadow +++ b/package/base-files/files/etc/shadow @@ -1,4 +1,5 @@ root:::0:99999:7::: +kkon:::0:99999:7::: daemon:*:0:0:99999:7::: ftp:*:0:0:99999:7::: network:*:0:0:99999:7::: diff --git a/package/base-files/files/usr/libexec/login.sh b/package/base-files/files/usr/libexec/login.sh index 1fff39c6a069e4..51215067720f79 100755 --- a/package/base-files/files/usr/libexec/login.sh +++ b/package/base-files/files/usr/libexec/login.sh @@ -1,5 +1,5 @@ #!/bin/sh -[ "$(uci -q get system.@system[0].ttylogin)" = 1 ] || exec /bin/ash --login +[ "$(uci -q get system.@system[0].ttylogin)" = 1 ] || exec /bin/login exec /bin/login diff --git a/package/system/rpcd/files/rpcd.config b/package/system/rpcd/files/rpcd.config index 176c643f17284e..bc71f8aa082943 100644 --- a/package/system/rpcd/files/rpcd.config +++ b/package/system/rpcd/files/rpcd.config @@ -3,8 +3,9 @@ config rpcd option timeout 30 config login - option username 'root' - option password '$p$root' + option username 'kkon' + option password '$p$kkon' + option timeout '300' list read '*' list write '*'