Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 tectia 工具进行 ssh。我正在使用“sudo su -”命令成为工具中的 root 用户(它不要求输入密码)。
但是,我试图通过批处理文件运行命令时,我无法成为 root 用户“我让用户不允许以 root 身份运行”
sshg3 -b user@host < c:\\file.bat
在file.bat里面
sudo su - date time
我想使用批处理文件以root用户身份运行一些命令,请任何人帮助