Comments (4)
RE: authentication, could we just put this in our init script:
if [ ! -f /home/root/.ssh/authorized_keys ]; then
sed s/root:.:/root:xGVw8H4GqkKg6:/ /etc/shadow > /tmp/shadow
chmod 400 /tmp/shadow
mount --bind /tmp/shadow /etc/shadow
fi
i.e. if authorized_keys does not exist, set the root password to alpine
via bind mount
from webos-homebrew-channel.
That makes sense.
If we put that shadowfile somewhere persistent (/var/luna/preferences/webosbrew_shadow
?) we could also use it as a go-to solution for remote access for people inexperienced with ssh public key authentication. passwd
should work as is with this setup, right?
Update: just realized this (persistence) is not a great idea, in case someone does a software update, as we don't have any guarantees regarding passwd
/shadow
not changing.
from webos-homebrew-channel.
Initial dropbear integration is finished in 957d29f - UI is working, tools/build-dropbear.sh
can be used to build a working customized dropbear sshd binary to be bundled with the application. Not sure how to distribute this - should we just commit the binary into the repo and call it a day?
Fully static builds seemed to fail to link when built with meta-lg-webos-ndk - not sure how to go about this, I don't have much practice with general subject of crosscompilation.
from webos-homebrew-channel.
Fully static build may not work - IIRC the NDK I built doen't come with any archive files. Thus no way to static link with libc. But I think if crypto libraries could be statically linked, then it's good enough.
from webos-homebrew-channel.
Related Issues (20)
- LG C2 - Lost root access after Update to homebrew channel v0.6.2 HOT 6
- Certificate Errors
- Homebrew Channel
- An error has occured while downloading some repositories from homebrew HOT 6
- An error has occured during installation HOT 1
- Tv
- Homebrew Channel disappeared HOT 1
- New apps in appstore HOT 1
- Certificate error during download/installation: "certificate has expired" HOT 22
- Certificate error when installing apps: "unable to get local issuer certificate" HOT 63
- Dev.mode turn off on TV HOT 1
- Certificate error while Homebrew app installation (issue came back) HOT 1
- New root vulnerability announced by LG HOT 1
- Regain root after Homebew update HOT 2
- Install timed out / Unknown method "install" for category "/dev" HOT 3
- "CERT_UNTRUSTED" error installing the hyperion project tweaks HOT 1
- Please add cmus - C* Music Player - into webosbrew HOT 1
- "Rebooting" message lasts forever HOT 2
- OLED55C31LA goes to sleep after 4 hours HOT 1
- Change wallpaper
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from webos-homebrew-channel.