Truly cool bzrudi!
I was on my way to writing something similar, because I was getting frustrated with MindTerm and its licensing issues.
Before I went off and re-invented the wheel though, I figured I'd look around and see if anyone else had coded a terminal app in PHP, and you have!
Question though, I would like the terminal to run as a specific user on the system aside from 'www-data', what would be the best way to do that?
Also what are your thoughts on the possibility of getting curses apps to run in the terminal?
Keep up the good work!
J. Bobby Lopez
as PHP runs at the same user as the Webserver, you always wilf be forced to be this user. I don't know a workarround for this. Sure you can add several users to the www-data user group but that would result in a security hole.
Concerning curses apps there might be a way with php5 which features a couple of improvements for that. But I do currently not have the time to work on that as I'm busy with work and my other projects ;-)
One could possibly create a suid shell and pass commands through that if a situation demands it, That would be the most terribly insecure thing to do though.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.