Browse Source

Improved sudo to explicitely disable pam support if pam is not available

early
Christian Wiese 17 years ago
parent
commit
abd781cf90
  1. 4
      base/sudo/sudo.conf

4
base/sudo/sudo.conf

@ -2,6 +2,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# #
# Filename: package/.../sudo/sudo.conf # Filename: package/.../sudo/sudo.conf
# Copyright (C) 2008 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2003 Clifford Wolf # Copyright (C) 1998 - 2003 Clifford Wolf
# #
@ -15,3 +16,6 @@
extraconfopt="--with-insults --with-all-insults --enable-log-host --with-tty-tickets" extraconfopt="--with-insults --with-all-insults --enable-log-host --with-tty-tickets"
if ! pkginstalled pam; then
var_append extraconfopt ' ' '--without-pam'
fi

Loading…
Cancel
Save