Bash and Omega (Hobbyist)
-
This post is deleted!
-
Yes, you can use bash scripts to control the Omega.
Example:
https://onion.freshdesk.com/support/solutions/articles/6000069950-how-can-i-use-the-gpios-I prefer using Python scripts though.
-
This post is deleted!
-
One thing to note is that the default shell on the Omega is not bash but ash. While much of it is compatible with bash, it's not 100%. If you have specific bash requirements you'll need to install it separately.
-
This post is deleted!
-
So. I installed bash and the modified /etc/passwd to change the root account to use /bin/bash.
But, in doing so, i essentially bricked the Omega. From that point forward everything responded with "permission denied". I could no longer log in, etc. Had to factory reset the unit to be able to get back in.I simply wanted the command tracing provided by .bash_history
Is it possible to create a secondary root account?? I believe in leaving a backdoor available