/usr/lib/ruby/vendor_ruby/rpam.rb is in ruby-rpam-ruby19 1.2.1-1build4.
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 10 11 12 13 14 15 16 17 18 | require 'rpam_ext'
module Rpam
def authpam *args
::Rpam.auth(*args)
end
class <<self
def auth user, password, options = {}
options = options.dup
options[:service] ||= 'rpam'
Rpam::Ext.authpam(user, password, options[:service])
end
alias :authpam :auth
end
end
|