I have compiled who binay in openwrt which is not working , i have also enable support for utmp but still not getting any utmp file in /var/run/utmp , tried using "w" , "users" but none of them shows any output . Can someone explain what the issue here.
- What version of OpenWrt are you trying to compile for?
- It reads "qsdk" in your path - could it be that you are using sources from a vendor's fork and not from the OpenWrt project?
- OpenWrt 19.07-SNAPSHOT
- actually i have used multiple packages for who .... busybox-who and coreutils-who packages
This is old. 19.07 is EOL and unsupported and has many known security vulnerabilities.
What device is this for? Where did you get the source code that you are trying to compile?
This is for IPQ5018 . this is already running code for our old devices we are trying to impliment same on new hardware.
Where did the code come from?
This might be probably very old 10 years or so. Dont know its origin .
That's pretty important to find out. If it came from somewhere other than OpenWrt.org, you'll need to talk to the vendor/maintainer of code you're using.
Why would you be using such old code? This would absolutely mean that there are tons of major security vulnerabilities.
You should stop now and find out:
- where did the code come from?
- Is there updated code you can work with since it is a bad idea to be using 10+ year old code.
ipq5018 isn't even supported [0] in current OpenWrt builds, so this can't be vanilla OpenWrt. Please ask the vendor of your SDK for support.
[0] IPQ5018: Potential future support for Linksys MX2000 Atlas 6 & MX5500 Atlas 6 Pro - #7 by slh