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]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, 27 Aug 2009, Chris Lumens wrote:

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?

The commit that disabled logins was a4dc3d4e1e92cb39fbc6ee79238524248162c416
I don't know why it was done, other than to probably sync up the install
images with what's installed on the target system.

root logins need to be enabled for s390x installs because you ssh in to start
loader.  loader can't run on the 3270 console.

- -- David Cantrell <dcantrell@xxxxxxxxxx>
Red Hat / Honolulu, HI

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkqW7mQACgkQ5hsjjIy1VklWzQCfeokn4PwNwuUtJXr4eVx5Q5ET
J7UAoN8gjaOFTDq03/kLSmRlUhEO3W1w
=R6tu
-----END PGP SIGNATURE-----

_______________________________________________
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