Skip to content

Commit

Permalink
libpam: Disable nullok_secure
Browse files Browse the repository at this point in the history
This will let us ssh with empty password as root user.
Its less secure but good for development work.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
  • Loading branch information
kraj committed Mar 11, 2014
1 parent 3b1a0a1 commit 39cbb0c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions recipes-tweaks/pam/libpam_1.1.6.bbappend
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#allow empty password
do_install_append () {
sed -i -e 's:nullok_secure:nullok:g' ${D}${sysconfdir}/pam.d/common-auth
}

0 comments on commit 39cbb0c

Please sign in to comment.