home *** CD-ROM | disk | FTP | other *** search
/ World of A1200 / World_Of_A1200.iso / programs / system / multiuser_1.8 / emergency / emergency.doc
Text File  |  1995-02-27  |  2KB  |  45 lines

  1. This  file  tells  you how to create an emergency boot disk which will give
  2. you  a  root  shell  if you boot from it, without the need to know the root
  3. password  (but  you  must  have  access to the keyfiles while creating this
  4. disk!).  However, this will only work if all keyfiles are still intact!
  5.  
  6.   o Format a floppy and make it bootable using the 'Install' command.
  7.  
  8.   o Copy the necessary files on it so it's directory tree looks like this:
  9.  
  10.          C (dir)
  11.            Assign
  12.            CLI
  13.            Mount
  14.          Devs (dir)
  15.               DOSDrivers (dir)
  16.                 MU0
  17.          S (dir)
  18.            Startup-Sequence
  19.       .MultiUser.keyfile
  20.  
  21.   o The   files   'MU0'   and   'Startup-Sequence'  can  be  found  in  the
  22.     'Emergency/Devs/DOSDrivers'      and     'Emergency/S/Startup-Sequence'
  23.     directories  respectively.   The file '.MultiUser.keyfile' can be found
  24.     on  any  partition  you  did  protect  with MultiUser.  The other files
  25.     should reside on your Workbench partition.
  26.  
  27.   o Edit  the  file '.MultiUser.keyfile' and make the second and third line
  28.     empty;  do  NOT remove these lines, they must exist but be empty!  This
  29.     keyfile is the key of your system.
  30.  
  31.   o Edit  the  file 'S/Startup-Sequence' and apply the changes mentioned in
  32.     the comments.
  33.  
  34.   o Make 'C/CLI' owned by root using the 'SetOwner' command.
  35.  
  36.   o Set the set uid bit ('U') for 'C/CLI' and make it readable for everyone
  37.     using the 'MProtect' command.
  38.  
  39.   o Test your emergency boot disk.
  40.  
  41.   o Keep the disk in a safe place!
  42.  
  43.  
  44. Special thanks to Ingolf Koch for the inspiration.
  45.