sudo-ldap installation cannot be preseeded
Bug #771296 reported by
Peter Matulis
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sudo (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: sudo
Normally, sudo-ldap requires the following:
1. an enabled root account (not the ubuntu default)
2. an initialized variable:
SUDO_FORCE_
Seems this is not possible to do in a preseed context. Is there anyway to make this work?
A late command appears to be the only way.
description: | updated |
Changed in sudo (Ubuntu): | |
status: | New → Confirmed |
To post a comment you must log in.
Late command is wonky too. I have to install it twice because the first one fails. This is what I have in my preseed/ late_command script:
# sudo-ldap REMOVE= yes REMOVE= yes
SUDO_FORCE_
export SUDO_FORCE_
apt-get -y install sudo-ldap
# first attempt will fail on 10.04 so do it again
apt-get -y install sudo-ldap