PAM Integration

From Yocto Project
Jump to navigationJump to search

For Yocto 1.1 we are working to ensure that PAM (Pluggable Authentication Module) support is consistent and enabled in recipes where it is applicable.

Recipes with PAM support

The following recipes were identified to have PAM support (some already implemented) on 2011-06-27:

  • at
    • enable pam option, it can pass compiling. We will test pam function later
  • consolekit
    • enable pam option, it can pass compiling. We will test pam function later
  • cronie
    • enable pam option, it can pass compiling. We will test pam function later
  • cups
    • enable pam option, it can pass compiling. We will test pam function later
  • dropbear
    • enable pam option, it can pass compiling.
    • We should add patches to support pam function.
  • gnome-keyring
    • enable pam option, it can pass compiling. We will test pam function later
  • libcap
    • enable pam option, it can pass compiling. We will test pam function later
  • libuser
    • enable pam option, it can pass compiling. We will test pam function later
  • mc
    • enable pam option, it can pass compiling. We will test pam function later
  • openssh
    • Absent configuration /etc/pam.d/sshd, we need to add patches. After adding this file, it can supprot pam function through simple test.
  • polkit
    • enable pam option, it can pass compiling. We will test pam function later
  • screen
    • enable pam option, it can pass compiling. We will test pam function later
  • shadow
    • enable pam option, it can pass compiling. We will test pam function later
  • sudo
    • enable pam option, it can pass compiling. We will test pam function later
  • util-linux
    • enable pam option, it can pass compiling. We will test pam function later

Note also:

  • The busybox box login has a option to use pam, but we use tinylogin's login right now (tinylogin also provides the su command)
  • gettext has a example file use pam in source code, I think it is just a example and don't need care
  • sysvinit has a patch contrib/notify-pam-dead.patch for /sbin/init to use pam , and it doesn't patched right now. And the package doesn't provide pam related configure option either.
  • In xserver-xf86-lite source code subdir os/utils checks #ifdef USE_PAM but there are no configure-time options for PAM.