This file is indexed.

/usr/lib/ruby/vendor_ruby/specinfra/backend/powershell/support/find_usergroup.ps1 is in ruby-specinfra 2.66.0-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

1
2
3
4
5
6
7
8
9
function FindUserGroup
{
  param($userName, $groupName, $userDomain, $groupDomain)
  $user = FindUser -userName $userName -domain $userDomain
  $group = FindGroup -groupName $groupName -domain $groupDomain
  if ($user -and $group) {
    Get-WmiObject Win32_GroupUser -filter ("GroupComponent = 'Win32_Group.Domain=`"" + $group.domain + "`",Name=`"" + $group.name + "`"' and PartComponent = 'Win32_UserAccount.Domain=`"" + $user.domain + "`",Name=`"" + $user.name + "`"'")
  }
}