mkschreder / juci

JUCI JavaScript Webgui for embedded devices running OpenWRT
Other
388 stars 108 forks source link

default GUI password ! #54

Closed cfcnightmare closed 8 years ago

cfcnightmare commented 8 years ago

Issue isnt gone with todays update. Orangectl : not found The better solution i think is to make root user is user for GUI by default. Then we can change password inside GUI..... BTW Thank you for solving luaposix isuue

mkschreder commented 8 years ago

Your error with orangectl is in fact misleading. It is because your system does not have /bin/bash (default config only has sh). So it looks like the script itself is missing, when in fact the shell requested by the script is missing. I have changed that to use sh and I have also updated the script with adduser command.

Now you can do: orangectl adduser admin orangectl passwd admin admin

You will need to have sha1sum selected in busybox custom settings in your config, since it is required for setting the password hash.

cfcnightmare commented 8 years ago

I will compiled new version today and look ... Anyway i have the script and selected bash and whoami in menuconfig.... But had another issue with selecting that modules. When its compiled there is no rpcd connecting to a router (GUI says)

mkschreder commented 8 years ago

I don't know what that could be but try todays update. It could have been a problem with libblobpack. I have added many new unit tests and code coverage to that lib now so another issue that I have seen with rpc server crashing is also fixed now. I have also fixed overview widget in the default theme so it does not result in javascript error on login.

Also, build now tested in user mode linux and builds fine with openwrt cc. You should be fine with todays updates.

On Wed, Aug 31, 2016 at 12:11 AM, cfcnightmare notifications@github.com wrote:

I will compiled new version today and look ... Anyway i have the script and selected bash and whoami in menuconfig.... But had another issue with selecting that modules. When its compiled there is no rpcd connecting to a router (GUI says)

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/mkschreder/juci/issues/54#issuecomment-243598015, or mute the thread https://github.com/notifications/unsubscribe-auth/AERqieIJ5bhpJUthSHHyA7Igv84i5wKIks5qlKqngaJpZM4Jq2N1 .

cfcnightmare commented 8 years ago

Ok man, i will try today.... Now its 1.21 am here :)