Re: [PATCH 3/5] Re-enable login of root user in initrd.img

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> diff --git a/scripts/mk-images b/scripts/mk-images
> index 046933d..df1b84a 100755
> --- a/scripts/mk-images
> +++ b/scripts/mk-images
> @@ -408,6 +408,11 @@ instbin() {
>  setupShellEnvironment() {
>      echo "tcp     6       TCP" > $MBD_DIR/etc/protocols
>  
> +    cat > $MBD_DIR/etc/shadow << EOF
> +root::14438:0:99999:7:::
> +EOF
> +    chmod 0400 $MBD_DIR/etc/shadow
> +
>      # PAM configuration
>      for i in pam_limits.so pam_env.so pam_unix.so pam_deny.so; do
>          cp -f $IMGPATH/$LIBDIR/security/$i $MBD_DIR/$LIBDIR/security

Your commit message says "Re-enable login".  Any idea why we had this
and removed it in the past?

- Chris

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux