I’m running the following version of hassio from a vmbox
Home Assistant 2022.12.8
Supervisor 2022.12.1
Operating System 9.4
Frontend 20221213.1 - latest
I’m trying to run the command net rpc and I get an error 127 despite the fact I can run the command from the terminal window without any problem. I’m at a loss as to how to get this command to run when trigged from hassio.
I have a horrible feeling unless the command is included in busybox you’re not allowed to run it. I’ve tried moving net to the /bin folder, I tried moving the command to a shell script with /bin/bash as the shebang line, if you execute bash manually /usr/bin ends up in your path. I’ve tried adding /usr/bin to the path in the shell script all to noavail. I can’t believe it’s this hard to execute a command from within hassio. Do I need to recompile busybox?
Yes you’re correct after I read the documentation fully sadly I can not do what I want I use the home assistant OS so it’s all running in it’s own container with no access to the required command. That little snippet could do with moving towards the top of the command line page so you don’t miss it.