Skip to content

Commit

Permalink
Remove code that disables requiretty, which is now the default
Browse files Browse the repository at this point in the history
CentOS 7.3 includes sudo-1.8.6p7-21 which disables requiretty by
default.

CentOS 6 has not required this since at least 6.8.

Obvious fix.

Signed-off-by: mvermaes <mvermaes@gmail.com>
  • Loading branch information
mvermaes committed Dec 13, 2016
1 parent 3632c7f commit 6804a90
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion http/centos-6.8/ks.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,3 @@ nfs-utils
sed -i -e 's/\(^SELINUX=\).*$/\1permissive/' /etc/selinux/config
# sudo
echo "%vagrant ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers.d/vagrant
sed -i "s/^[^#].*requiretty/#Defaults requiretty/" /etc/sudoers
1 change: 0 additions & 1 deletion http/centos-7.3/ks.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -77,5 +77,4 @@ bzip2
%post
# sudo
echo "%vagrant ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers.d/vagrant
sed -i "s/^[^#].*requiretty/#Defaults requiretty/" /etc/sudoers
%end

0 comments on commit 6804a90

Please sign in to comment.