ceph/teuthology/task/edit_sudoers.sh

11 lines
119 B
Bash
Executable File

#! /bin/sh
sudo vi -e /etc/sudoers <<EOF
g/ requiretty/s// !requiretty/
g/ !visiblepw/s// visiblepw/
w!
q
EOF
exit