From bacea04fe5f44212ee5ce4925ed251f8b56c9781 Mon Sep 17 00:00:00 2001 From: freesource Date: Thu, 6 Dec 2001 20:04:08 +0000 Subject: [PATCH] Finishes how normal users can create boot disks, and shows the proper location for verbose for normal users. --- doc/html/index.html | 46 +++++++++++++++++++++++++++++++++++++++------ 1 file changed, 40 insertions(+), 6 deletions(-) diff --git a/doc/html/index.html b/doc/html/index.html index 70e5685..9cbbd8d 100644 --- a/doc/html/index.html +++ b/doc/html/index.html @@ -3,7 +3,7 @@ -
$Id: index.html,v 1.35 2001/12/06 07:32:02 freesource Exp $
+
$Id: index.html,v 1.36 2001/12/06 17:35:18 freesource Exp $

@@ -102,7 +102,8 @@ or on again.  At times it may be advantageous to turn off the verbosity box since large quantities of output to this box may cause gbootroot to use too much cpu power; however, output may still be found in the text file "verbose" -in /tmp/gbootroot_tmp'time-date'.

+in /tmp/gbootroot_tmp'time-date' or /tmp/gboot_non_root_`id -u` for +normal users.









@@ -355,7 +356,7 @@ $HOME/.gbootroot/yard/.

FAQ

- +

What's the advantage of using this program?

@@ -739,8 +740,8 @@ don't exist.  For this example, /mnt1 and 9.  Change UIDs and GIDs to the appropriate user:
-  chown -v -R 0:0 /mnt1/*
-  chown -v -R 1002:1002 /mnt1/home
+  chown -v -R 0:0 /mnt1
+  chown -v -R 1002:1002 /mnt1/home/user
 

@@ -751,9 +752,42 @@ don't exist.  For this example, /mnt1 and How can I create boot disks as a normal user?

+

+ +Make the boot disk as you normally would.  Not all boot loaders +can be set-up as a non-root user, however, you may still continue to +the end of the process and set-up the boot loader later from a machine you +have root access on.  In order to use lilo while running +gbootroot there +are two pre-requisites your administrator will have to establish for you. +First, he will have to edit the fstab to allow you to mount a certain +block device.  For instance, to allow you to mount /dev/fd0, you +have to mount the /tmp/gboot_non_root_mnt_`id -u` directory.  If +your UID is 1000, then a line like this is added to the fstab: +

+/dev/fd0   /tmp/gboot_non_root_mnt_1000   auto   defaults,user,noauto   0   0
+

+Next, the administrator needs to give you access to the +lilo command.  Sudo is a good solution, and in gbootroot the +$sudo variable is assigned "sudo", this can be changed by the administrator +to some other sudo-like program.  The administrator then uses +visudo to edit the sudoers file with a line like this: + +

+user  hostname = NOPASSWD: /sbin/lilo
+
+ +

+ +Note, that NOPASSWD is used.  Gbootroot won't prompt for a password, +and just assumes no password in necessary.  I could change this +behavior if people request it.  Now a bootdisk with lilo can be +made. + +

What is make_debian, and how do I use it?