Fixed
Created: Jun 7, 2015
Updated: Sep 8, 2018
Resolved Date: Jul 23, 2015
Previous ID: IDP3-301
Found In Version: 7.0.0.6
Fix Version: 7.0.0.8
Severity: Standard
Applicable for: Wind River Linux 7
Component/s: Build & Config
when the login prompt shows up, try to login with root/root, could not login the system successfully. The console will be reset and show the login prompt again.
Workaround for this, remove the pam_nologin.so line.
vi /etc/pam.d/sshd
#account required pam_nologin.so
1. configure project:
/net/pek-idptest1/buildarea2/idp-dvds/7.0-RCPL0006_drop3-20150606/wrlinux-7/wrlinux/configure --enable-board=intel-haswell-64 --enable-kernel=idp --enable-rootfs=idp --enable-addons=wr-idp --enable-reconfig --with-layer=wr-prosyst-mbs-smarthome-sdk-ia,wr-digi-idigiconnector,wr-wks-oneagent-oma-dm-ia,wr-iot,wr-wks-oneagent-tr069 --with-template=feature/opc,feature/openjdk-bin,feature/pptp_vpn,feature/vlan,feature/l2tp,feature/opc_demo,feature/recovery,feature/bluetooth,feature/ipsec_vpn,feature/online_updates,feature/ems-test,feature/remote-session,feature/realtek
2. make fs
3. ./deploy.sh -f export/intel-haswell-64-idp-idp-dist-srm.tar.bz2 -y -u -d /dev/sdc
4. boot the target with USB disk
5. when the login prompt shows up
6. use root/root to login
project and pam files:
ls /buildarea4/idp-nightly-log/tnie20150607_100000/lx_prj_haswell-64_idp_allfeature_srm_grsec_noima_mec_AW-NB159H/export/dist/lib/security/pam_
pam_deny.so pam_faildelay.so pam_lastlog.so pam_motd.so pam_permit.so pam_securetty.so pam_unix.so
pam_env.so pam_group.so pam_mail.so pam_nologin.so pam_rootok.so pam_shells.so pam_warn.so