# File lib/facter/util/resolution.rb, line 19 def self.search_paths if Facter::Util::Config.is_windows? ENV['PATH'].split(File::PATH_SEPARATOR) else # Make sure facter is usable even for non-root users. Most commands # in /sbin (like ifconfig) can be run as non priviledged users as # long as they do not modify anything - which we do not do with facter ENV['PATH'].split(File::PATH_SEPARATOR) + [ '/sbin', '/usr/sbin' ] end end