Awesome Little App

Help
2006-05-15
2013-04-15
  • J. Bobby Lopez
    J. Bobby Lopez
    2006-05-15

    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
    Mindnet.Ca
    http://www.mindnet.ca/

     
    • bzrudi
      bzrudi
      2006-05-17

      Hi Bobby,

      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 ;-)

      Thank You!

      cheers bzrudi

       
    • anshul
      anshul
      2006-06-03

      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.