301c3c4475
Rather than dublicating code to implement rhel or any other derivitive, this patch introduces an rpm-distro element that should be used as a dependency. Change-Id: I8a92bb041764d03f430b438f0013704f79a8674c
7 lines
175 B
Bash
Executable file
7 lines
175 B
Bash
Executable file
#!/bin/bash
|
|
set -e
|
|
|
|
# root can not sudo without a tty by default.
|
|
echo "Defaults:root !requiretty" >> /etc/sudoers.d/root-notty
|
|
chmod 0440 /etc/sudoers.d/root-notty
|
|
visudo -c
|