[2103] in Release_7.7_team

home help back first fref pref prev next nref lref last post

Re: Linux-Athena issue status

daemon@ATHENA.MIT.EDU (Greg Hudson)
Mon Feb 7 19:37:53 2000

Message-Id: <200002080037.TAA10372@small-gods.mit.edu>
To: Garry Zacheiss <zacheiss@MIT.EDU>
Cc: source-reviewers@MIT.EDU, release-team@MIT.EDU
In-Reply-To: Your message of "Mon, 07 Feb 2000 18:02:02 EST."
             <200002072302.SAA491762@opus.mit.edu> 
Date: Mon, 07 Feb 2000 19:37:47 -0500
From: Greg Hudson <ghudson@MIT.EDU>

Okay, I added myself to the acl on the als locker and made changes to
the phase2 script to chmod the floppy and CD-ROM devices and set the
root password.  I installed the new phase2 script in
/afs/dev.mit.edu/system/rhlinux/installer already.

Rebuilding the athena-ws package should be unnecessary in the short
term, as long as the passwd and shadow files are set up by the
installation.  I will forego that step for now since it would create a
significant process mess and since I could conceivably break things.

The phase2 script needs to be propagated to the athena cell and
/afs/athena.mit.edu/system/config/passwd/rhlinux needs to be set up
for these changes to take effect.

When I have confirmation that everything is all set, I will send mail
to Joe Welch about manually setting root passwords.  (Or the person
who does the propagation can.)

I'm not really in a position to test this stuff, so if someone else
could do so tonight I'd appreciate it.

*** phase2.~4~	Fri Feb  4 17:27:50 2000
--- phase2	Mon Feb  7 19:31:07 2000
***************
*** 13,18 ****
--- 13,19 ----
  INSTALLER=$SYSTEM/installer
  STUFF=$SYSTEM/installer/root
  ROOT=/mnt
+ PASSWD=/afs/athena.mit.edu/system/config/passwd/rhlinux
  
  PATH=$PATH:$STUFF/bin:$STUFF/usr/bin:$STUFF/sbin:$STUFF/usr/sbin
  
***************
*** 106,111 ****
--- 107,123 ----
  chroot $ROOT /usr/sbin/mouseconfig --kickstart
  chroot $ROOT /usr/X11R6/bin/Xconfigurator --kickstart --hsync 30-96 --vsync 48-120
  chroot $ROOT /usr/sbin/pwconv
+ 
+ # Set permissions on floppy and CD-ROM devices.
+ chmod 666 $ROOT/dev/fd[0-9]* $ROOT/dev/cdrom
+ 
+ # Initialize passwd and shadow files
+ cp $PASSWD/passwd $ROOT/etc/passwd.local
+ cp $ROOT/etc/passwd.local $ROOT/etc/passwd
+ cp $PASSWD/shadow $ROOT/etc/shadow.local
+ cp $ROOT/etc/shadow.local $ROOT/etc/shadow
+ chmod 644 $ROOT/etc/passwd.local $ROOT/etc/passwd
+ chmod 600 $ROOT/etc/shadow.local $ROOT/etc/shadow
  
  # Change default runlevel to 5 (X11) and disable console logins
  $ROOT/bin/sed -e 's/id:3/id:5/' -e '/tty[123456]/s/^/#/' < $ROOT/etc/inittab > /tmp/inittab

home help back first fref pref prev next nref lref last post