try the halt command

On 1/12/07, jignesh gangani <[EMAIL PROTECTED]> wrote:



On 1/10/07, Tijnema ! <[EMAIL PROTECTED]> wrote:
>
> I''m sorry for my second email, when using halt or shutdown -h it
> doesn't give that message.
>
> Thanks barius.
>
>
>  On 1/10/07, Tijnema ! <[EMAIL PROTECTED]> wrote:
> >
> >
> > On 1/10/07, Barius Drubeck < [EMAIL PROTECTED]> wrote:
> > >
> > > On Wednesday 10 January 2007 08:49, Tijnema ! wrote:
> > > > Hi
> > > >
> > > > I have a (B)LFS system installed, and when i shutdown i get a
> > > message
> > > > like Enter root password or press Control-D to continue., so it
> > > > doesn't matter if i type the root password, or press Control-D my
> > > pc
> > > > doesn't shut down. Specs:
> > > [snip]
> > > >
> > > > so, i have 2 quations, first how can i remove that message "Enter
> > > > root password or press Control-D to continue"??
> > > > and second, why doesn't my computer shutdown, rebooting is fine.
> > >
> > > What command are you using to shut down?
> > >
> > > The behaviour you describe is typical of bringing the system down to
> > >
> > > single user mode, and the prompt message you describe is issued by
> > > sulogin.
> >
> >
> > So, where to remove it?
> >
> > If you just enter a command like "shutdown now" it will bring the
> > > system
> > > down to single user mode give a behaviour like you describe.  Since
> > > you
> > > say rebooting is fine, you probably know to use the "-r" switch to
> > > the
> > > shutdown command.  Well, to really shutdown the system, you need to
> > > use
> > > the "-h" (halt) switch.  You can also use the halt command which
> > > will
> > > do a shutdown -h in the same way that reboot command will do
> > > shutdown
> > > -r.
> >
> >
> > I was just using shutdown now command to shut it down, i will try the
> > -h option.
> >
> >
> > --
> > > Barius
> > > --
> > > http://linuxfromscratch.org/mailman/listinfo/blfs-support
> > > FAQ: http://www.linuxfromscratch.org/blfs/faq.html
> > > Unsubscribe: See the above information page
> > >
> >
> >
>
> --
> http://linuxfromscratch.org/mailman/listinfo/blfs-support
> FAQ: http://www.linuxfromscratch.org/blfs/faq.html
> Unsubscribe: See the above information page
>
>

I have the same problem. When I execute "shutdown now" I get

Switching to run level 1.
Please enter root password or press Ctrl+D to continue.

When I press Ctrl+D I get

init: No more processes left on this level.

If  I execute shutdown with any other switch e.g. -h or -H or -P I get the
help of
shutdown. If I combine the switch with "now" I get the same output as
above.
I can reboot using the reboot command.

--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to