linux下为用户配置免密码sudo权限

配置/etc/sudoers文件便可,过程以下web chmod u+w /etc/sudoers echo "gc-user ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers chmod u-w /etc/sudoers
相关文章
相关标签/搜索