Daniel,
   Single user mode is a mode where all your services
(sendmail,cron,nfs,etc...) are stopped and the system is in what I like to
refer to as minimum operation mode.  It normally is used for system
maintance by root and no other users can log on at that time.  When you
enter single user mode the system will run all scripts that are in
/etc/rc.d/rc1.d.  These are the scripts that kill services for single user
mode operation.
   To enter single user mode, root runs the command.

/sbin/init 1 or /sbin/init s

   Which tells init to reexamine the /etc/inittab file and to run the
scripts defined for that level.  You will find a line in your inittab file
that looks like the following:

l1:1:wait:/etc/rc.d/rc 1

   Also see man init and man inittab.

   Then you can run things such as fsck on your hard drives after
UN-mounting them.
   To get back to your normal run level (usually 3 for all services),
re-mount your hard drives and enter /sbin/init 3.  This starts all the
services defined for run-level 3 in the inittab file.
   Hope this is of some help.


Daniel Goldin <[EMAIL PROTECTED]> wrote:
> What exactly is single-user-mode and how to I use it?


... steve

[EMAIL PROTECTED]


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to