Comments (6)
Thanks for letting me know. I will try to find some time to look into it.
from duorem.
Hi, that did the trick, but I don't know why :) I reinstalled the fdroid version afterwards and that one is working again, too.
So maybe it was just some weird local stuff on my phone and I hope I did not use too much of your time. Thanks a lot!
from duorem.
would be super cool, thank you!
from duorem.
Unfortunately, I can't reproduce the problem. If you want, you can try out this build, it should show you the command that is being sent to the device.
Otherwise: what android version do you use?
from duorem.
Thanks for the help!
I installed your debug apk and I still do not see the sent command in the app itself, but I see what's happening on my system after the duorem user is logged in via ssh:
duorem : command not allowed ; TTY=pts/1 ; PWD=/tmp ; USER=root ; COMMAND=/usr/bin/shutdown -r now
So the app executes the default value for "Shutdown command" which is sudo shutdown -h now
although I configured sudo systemctl suspend
(which is the only allowed sudo command for this user).
I am on Android 13.
from duorem.
Hm. Could it be that you are still running the other version? Just to be sure, I've prepared a new bundle, which:
- should show you the shutdown command;
- should show version 1.1.5 in the About dialog. The version on F-Droid is 1.1.4.
I see this in the emulator (android 13):
And in the auth.log
on the target system:
<...> sudo: duorem : TTY=pts/4 ; PWD=/home/duorem ; USER=root ; COMMAND=/usr/bin/systemctl reboot
<...> sudo: pam_unix(sudo:session): session opened for user root by (uid=0)
<...> sudo: pam_unix(sudo:session): session closed for user root
from duorem.
Related Issues (20)
- Guessing broadcast address may go wrong HOT 2
- design contribution HOT 5
- Latest version v.1.1.2 doesn't show device buttons HOT 6
- Host IP address is not shown during network scan HOT 2
- Refresh feature HOT 6
- Support hostname HOT 1
- Missing shutdown timer HOT 1
- Italian Translation
- Android TV Support HOT 5
- Release latest versoion as compiled APK? HOT 4
- Remove Windows end-lines
- Windows support HOT 2
- Login with private/public key pair HOT 1
- Error power up HOT 2
- The Notification
- App not working on Android 11 HOT 1
- Manually entered devices are not saved HOT 10
- Unable to paste MAC address HOT 1
- Switching applications reset all fields in "add new device" HOT 3
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 duorem.