[Buildroot] [Bug 8536] New: Building sudo with PAM results in unusable sudo
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Thu Dec 17 10:52:46 UTC 2015
Hello James,
You have been the one enabling PAM support in sudo, in commit
https://git.busybox.net/buildroot/commit/package/sudo?id=eeacb333a33d50034c1ace1bb293a9a04d76e617.
Can you have a look at the below bug report?
Thanks!
Thomas
On Thu, 17 Dec 2015 10:00:50 +0000, bugzilla at busybox.net wrote:
> https://bugs.busybox.net/show_bug.cgi?id=8536
>
> Bug ID: 8536
> Summary: Building sudo with PAM results in unusable sudo
> Product: buildroot
> Version: unspecified
> Hardware: PC
> OS: Linux
> Status: NEW
> Severity: normal
> Priority: P5
> Component: Other
> Assignee: unassigned at buildroot.uclibc.org
> Reporter: nroach44 at gmail.com
> CC: buildroot at uclibc.org
>
> As the title, when building an image with both sudo and PAM results in sudo
> denying all requests.
>
> If you comment out the PAM section in sudo.mk everything works as intended
> (minus any PAM integration).
>
> I only have one file in sudoers.d that contains:
>
> %sudo ALL=(ALL) ALL
>
> otherwise I don't have any PAM or sudo configuration
>
> I'm building for a SAMA5D3_XPLD (cortex-a5) board with linux 4.0.9 on latest
> git, with a custom ct-ng toolchain (that otherwise works)
>
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
More information about the buildroot
mailing list