Lines 50-57
function allow_root_login() {
|
Link Here
|
---|
|
50 |
auth/su/user/root |
50 |
auth/su/user/root |
51 |
|
51 |
|
52 |
# some values were not set during the pam installation, because they were set |
52 |
# some values were not set during the pam installation, because they were set |
53 |
# in the force layer. Reconfigure pam |
53 |
# in the force layer. Reconfigure PAM if no other dpkg process is running |
54 |
dpkg -l univention-pam > /dev/null 2>&1 && dpkg-reconfigure univention-pam |
54 |
# (e.g., when "stop" is called in the postrm script). |
|
|
55 |
fuser /var/lib/dpkg/lock >/dev/null 2>&1 \ |
56 |
|| dpkg -l univention-pam > /dev/null 2>&1 \ |
57 |
&& dpkg-reconfigure univention-pam |
55 |
} |
58 |
} |
56 |
|
59 |
|
57 |
function restrict_root_login() { |
60 |
function restrict_root_login() { |