无法从远程计算机上的tmux会话创建根目录

问题描述:

当我登录到网关节点时,我可以成为root用户,但在运行我的tmux会话时无法成为root用户。我可以ssh进入其他机器并成为root,但不是运行tmux的机器。这个问题似乎与生产中的网关节点隔离开来。无法从远程计算机上的tmux会话创建根目录

在TMUX

[email protected]:~$ sudo su 
[sudo] password for user: 
user is not in the sudoers file. This incident will be reported. 

没有TMUX

[email protected]:~$ sudo su 
[sudo] password for user: 
[email protected]:/home/user# 

我有一个需要被关闭TMUX独立的TMUX会议。