(Summary) inittab problem

Thanx to chuck, Yannick and Mateusz for their replies.

I got a boot: prompt from my floppy and did a
mount root=/dev/hda2 single

which at least one reply told me to do.

I thought I had tried all the tty (alt+fn) but I didn't see a login prompt
when I looked. Perhaps I was a bit quick.

Thanx again.
Dp.


==== Original Message ==============
SYS: Slackware 9.1 on Dell Dim 2400, Intel Cel

I have go myself into a bit of a fix. I changed the default runlevel from 3
to 4 so I would get a GUI at boot up. However I haven't correctly
configured my Xserver and now my system is stalling at boot-up and I
can find a way to get access to a shell to edit the inittab.

Does anyone know of a switch/arg I could use that might allow me to
boot the system into single users mode? I thought I could boot from my
floppy which prompts me for a command to use.

Any ideas,
Dp.

~~
Dermot Paikkos * dermot [at] sciencephoto.com
Network Administrator [at] Science Photo Library
Phone: 0207 432 1100 * Fax: 0207 286 8668

-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo [at] vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Dermot Paikkos [ Fr, 04 Februar 2005 13:51 ] [ ID #625802 ]

Re: (Summary) inittab problem

On Fri, Feb 04, 2005 at 12:51:37PM -0000, Dermot Paikkos wrote:
> I thought I had tried all the tty (alt+fn) but I didn't see a login prompt
> when I looked. Perhaps I was a bit quick.
>

You should see a prompt like this

#

single user mode doesnt look for a login, you're automaticly put into root.

> Thanx again.
> Dp.

--
Infinite complexity begets infinite beauty.
Infinite precision begets infinite perfection.
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo [at] vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
jma5 [ Fr, 04 Februar 2005 16:18 ] [ ID #625805 ]

Re: (Summary) inittab problem

Jim C. Brown wrote:
> On Fri, Feb 04, 2005 at 12:51:37PM -0000, Dermot Paikkos wrote:
>
>>I thought I had tried all the tty (alt+fn) but I didn't see a login prompt
>>when I looked. Perhaps I was a bit quick.
>>
>
>
> You should see a prompt like this
>
> #

But not on Slackware, It's more secure Linux distro than others and even
on single user mode you are asked for user name and password.

>
> single user mode doesnt look for a login, you're automaticly put into root.
>

This is not true on Slackware.

>
>>Thanx again.
>>Dp.
>
>

-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo [at] vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Mateusz Marzantowicz [ Fr, 04 Februar 2005 16:35 ] [ ID #625806 ]

Re: (Summary) inittab problem

Jim C. Brown wrote:
> On Fri, Feb 04, 2005 at 04:35:33PM +0100, Mateusz Marzantowicz wrote:
>
>>>You should see a prompt like this
>>>
>>>#
>>
>>But not on Slackware, It's more secure Linux distro than others and even
>>on single user mode you are asked for user name and password.
>>
>
>
> Thanks, I didn't know that. (Nor did I know DP was using slackware.)
> That approach has mixed blessings of course (what if you want to get into
> single user mode because you forgot the root password and need to reset it?
> -- of course there are other ways to do that)
>

I couldn't imagine situation when sysadmin simply loses his password.
But it could happen and than the only way to get into Slackware box is
to hack it. ;-)

-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo [at] vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Mateusz Marzantowicz [ Fr, 04 Februar 2005 16:54 ] [ ID #625807 ]

Re: (Summary) inittab problem

Mateusz Marzantowicz wrote:

> > Thanks, I didn't know that. (Nor did I know DP was using slackware.)
> > That approach has mixed blessings of course (what if you want to get into
> > single user mode because you forgot the root password and need to reset it?
> > -- of course there are other ways to do that)
>
> I couldn't imagine situation when sysadmin simply loses his password.
> But it could happen and than the only way to get into Slackware box is
> to hack it. ;-)

If you use the init=/bin/sh option, it will just run /bin/sh directly,
with no login. Or you can boot using a repair disk.

--
Glynn Clements <glynn [at] gclements.plus.com>
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo [at] vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Glynn Clements [ Mo, 07 Februar 2005 19:11 ] [ ID #630249 ]
Linux » gmane.linux.admin » (Summary) inittab problem

Vorheriges Thema: HW RAID configuration - best practise question(s)
Nächstes Thema: impossible go through udma2 mode