Switching user in Fabric

后端 未结 3 384
迷失自我
迷失自我 2021-01-01 15:41

I have a problem when using Fabric to mimic my SSH workflow to deploy my web application.

Here\'s my usual flow of commands when I SSH to a server:

  1. SS
3条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-01-01 16:25

    One possible solution is to use the sudo operation instead of changing the remote user with su.

提交回复
热议问题