Linux记录-配置sudoers无密登录和环境变量 su root vim /etc/sudoers.d/sfapp sfapp ALL=(ALL) ALLsfapp ALL=(ALL) NOPASSWD: ALL Defaults !env_reset :wq!