sudoer 配置

版权声明:本文为博主原创文章,转载请标明出处。 https://blog.csdn.net/ctypyb2002/article/details/83342380

redhat/centos 分支

免密执行

# vi /etc/sudoers.d/postgres

postgres ALL=(ALL:ALL) NOPASSWD:ALL

debian/ubutu 分支

免密执行

# vi /etc/sudoers

postgres ALL=(ALL:ALL) NOPASSWD:ALL

猜你喜欢

转载自blog.csdn.net/ctypyb2002/article/details/83342380