VirtualBox

Ignore:
Timestamp:
May 5, 2017 9:34:57 AM (8 years ago)
Author:
vboxsync
Message:

testboxscript/solars: sudoers location moved on S10.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/testboxscript/solaris/setup-routines.sh

    r66804 r66806  
    4242#
    4343MY_FGREP="/usr/xpg4/bin/fgrep" # The other one does grok -q.
    44 if [ ! -f "${MY_ETC_SUDOERS}"  -a  -f "/opt/csw/etc/sudoers" ]; then
    45     MY_ETC_SUDOERS=/opt/csw/etc/sudoers # Sudo isn't standard on S10.
     44if [ ! -f "${MY_ETC_SUDOERS}" ]; then # sudo isn't standard on S10.
     45    if [ -f "/opt/csw/etc/sudoers" ]; then
     46        MY_ETC_SUDOERS=/opt/csw/etc/sudoers
     47    fi
     48    if [ -f "/etc/opt/csw/sudoers" ]; then
     49        MY_ETC_SUDOERS=/etc/opt/csw/sudoers
     50    fi
    4651fi
    4752
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette