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
8 lines
175 B
Bash
Executable File
8 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
|