line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# |
2
|
|
|
|
|
|
|
# (c) Jan Gehring |
3
|
|
|
|
|
|
|
# |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
package Rex::User::Base; |
6
|
|
|
|
|
|
|
|
7
|
2
|
|
|
2
|
|
34
|
use v5.12.5; |
|
2
|
|
|
|
|
10
|
|
8
|
2
|
|
|
2
|
|
13
|
use warnings; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
310
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
our $VERSION = '1.14.2.2'; # TRIAL VERSION |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
sub new { |
13
|
2
|
|
|
2
|
0
|
7
|
my $that = shift; |
14
|
2
|
|
33
|
|
|
23
|
my $proto = ref($that) || $that; |
15
|
2
|
|
|
|
|
19
|
my $self = {@_}; |
16
|
|
|
|
|
|
|
|
17
|
2
|
|
|
|
|
6
|
bless( $self, $proto ); |
18
|
|
|
|
|
|
|
|
19
|
2
|
|
|
|
|
7
|
return $self; |
20
|
|
|
|
|
|
|
} |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
sub lock_password { |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
# Overridden in those classes that implement it |
25
|
0
|
|
|
0
|
0
|
|
die "lock_password is not available on this operating system"; |
26
|
|
|
|
|
|
|
} |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
sub unlock_password { |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
# Overridden in those classes that implement it |
31
|
0
|
|
|
0
|
0
|
|
die "unlock_password is not available on this operating system"; |
32
|
|
|
|
|
|
|
} |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
1; |