OpenWrt Forum Archive

Topic: sudo / su missing: how to run script as different user

The content of this topic has been archived on 6 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

I'm currently working on the next steps of ddns-scripts.
It's planed to run ddns-scripts as non-root user.
But sudo and su applets of busybox are not standard neither in OpenWrt nor LEDE-Project.
There are additional packages available but it should work out of the box.
Did I ignore something? Any ideas?

SSH into router

ssh root@192.168.1.1

then

opkg install sudo
opkg install su

maybe it works?

(Last edited by mys5droid on 20 Feb 2017, 07:02)

The discussion might have continued from here.