Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ronis_BR
duo_unix
duo_unix_support-paths.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File duo_unix_support-paths.diff of Package duo_unix
Respect the configure --docdir setting instead of forcing /usr/share/doc, so 'make install' puts the README in the proper location. Also fixed hardcoded paths in duo_unix_support.sh. --- duo_unix_support/Makefile.in.orig 2021-07-23 15:34:36.979552940 -0500 +++ duo_unix_support/Makefile.in 2021-07-23 15:39:28.747707513 -0500 @@ -245,7 +245,7 @@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ -docdir = $(datadir)/doc/@PACKAGE@/duo_unix_support +docdir = @docdir@/duo_unix_support dvidir = @dvidir@ enable_lib64 = @enable_lib64@ exec_prefix = @exec_prefix@ --- duo_unix_support/duo_unix_support.sh.orig 2021-07-23 15:52:42.319659647 -0500 +++ duo_unix_support/duo_unix_support.sh 2021-07-23 15:53:40.274869502 -0500 @@ -1,8 +1,8 @@ -#!/usr/bin/env bash +#!/bin/bash # Users can have login_duo installed in different locations by defining a --prefix flag at compile time PREFIX="/usr" -README_INSTALL="/usr/local" +README_INSTALL="$PREFIX" options=$(getopt -o h -l prefix: -- "$@") while true; do case "$1" in @@ -25,7 +25,7 @@ shift done -echo -e "The Duo Unix support script gathers and aggregates information about your Duo Unix installation and the server it is installed on for easy sending to Duo Security support. This script is intended to be used with Debian, Ubuntu, RHEL, and CentOS systems. While use of this script is not required for support cases with Duo, it is highly recommended as it will expedite the support and debugging process. Namely, this script collects:\n\n\t* Logfiles in /var/log, such as auth and secure\n\t* PAM configurations in /etc/pam.d, such as common-auth or sshd\n\t* SSHD configurations in /etc/ssh\n\t* Information about the server distribution and relevant libraries such as SELinux or OpenSSL\n\t* Configurations for pam_duo and login_duo scrubbed of sensitive skeys\n\nThese files are typically asked for during support cases with Duo. We advise that you review any of these files prior to running this script should you wish to expunge any other information you deem sensitive from these files. For a full list of the information collected by this script, see ${README_INSTALL}/share/doc/duo_unix/duo_unix_support/README.md." +echo -e "The Duo Unix support script gathers and aggregates information about your Duo Unix installation and the server it is installed on for easy sending to Duo Security support. This script is intended to be used with Debian, Ubuntu, RHEL, and CentOS systems. While use of this script is not required for support cases with Duo, it is highly recommended as it will expedite the support and debugging process. Namely, this script collects:\n\n\t* Logfiles in /var/log, such as auth and secure\n\t* PAM configurations in /etc/pam.d, such as common-auth or sshd\n\t* SSHD configurations in /etc/ssh\n\t* Information about the server distribution and relevant libraries such as SELinux or OpenSSL\n\t* Configurations for pam_duo and login_duo scrubbed of sensitive skeys\n\nThese files are typically asked for during support cases with Duo. We advise that you review any of these files prior to running this script should you wish to expunge any other information you deem sensitive from these files. For a full list of the information collected by this script, see ${README_INSTALL}/share/doc/packages/duo_unix/duo_unix_support/README.md." read -rp "Do you wish to run this program? [N/y] " user_input
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor