This commit is contained in:
Florian Mounier
2014-04-25 09:53:04 +02:00
parent 84f5cce7ea
commit 8cf1f75224
4 changed files with 5 additions and 7927 deletions

View File

@@ -14,7 +14,7 @@
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
__version__ = '1.4.1'
__version__ = '1.4.2'
import os

View File

@@ -142,7 +142,7 @@ class TermWebSocket(Route, tornado.websocket.WebSocketHandler):
os.initgroups(self.callee.name, self.callee.gid)
os.setgid(self.callee.gid)
os.setuid(self.callee.uid)
except PermissionError:
except:
print('The server must be run as root '
'if you want to log as different user\n')
sys.exit(1)

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long