linux-admin.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* (Summary) inittab problem
@ 2005-02-04 12:51 Dermot Paikkos
  2005-02-04 15:18 ` Jim C. Brown
  0 siblings, 1 reply; 5+ messages in thread
From: Dermot Paikkos @ 2005-02-04 12:51 UTC (permalink / raw)
  To: linux-admin

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@sciencephoto.com
Network Administrator @ Science Photo Library
Phone: 0207 432 1100 * Fax: 0207 286 8668


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: (Summary) inittab problem
  2005-02-04 12:51 (Summary) inittab problem Dermot Paikkos
@ 2005-02-04 15:18 ` Jim C. Brown
  2005-02-04 15:35   ` Mateusz Marzantowicz
  0 siblings, 1 reply; 5+ messages in thread
From: Jim C. Brown @ 2005-02-04 15:18 UTC (permalink / raw)
  To: Dermot Paikkos; +Cc: linux-admin

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.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: (Summary) inittab problem
  2005-02-04 15:18 ` Jim C. Brown
@ 2005-02-04 15:35   ` Mateusz Marzantowicz
       [not found]     ` <20050204154144.GA22992@jbrown.mylinuxbox.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Mateusz Marzantowicz @ 2005-02-04 15:35 UTC (permalink / raw)
  To: linux-admin

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.
> 
> 


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: (Summary) inittab problem
       [not found]     ` <20050204154144.GA22992@jbrown.mylinuxbox.org>
@ 2005-02-04 15:54       ` Mateusz Marzantowicz
  2005-02-07 18:11         ` Glynn Clements
  0 siblings, 1 reply; 5+ messages in thread
From: Mateusz Marzantowicz @ 2005-02-04 15:54 UTC (permalink / raw)
  To: linux-admin

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. ;-)


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: (Summary) inittab problem
  2005-02-04 15:54       ` Mateusz Marzantowicz
@ 2005-02-07 18:11         ` Glynn Clements
  0 siblings, 0 replies; 5+ messages in thread
From: Glynn Clements @ 2005-02-07 18:11 UTC (permalink / raw)
  To: Mateusz Marzantowicz; +Cc: linux-admin


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@gclements.plus.com>

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-02-07 18:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-04 12:51 (Summary) inittab problem Dermot Paikkos
2005-02-04 15:18 ` Jim C. Brown
2005-02-04 15:35   ` Mateusz Marzantowicz
     [not found]     ` <20050204154144.GA22992@jbrown.mylinuxbox.org>
2005-02-04 15:54       ` Mateusz Marzantowicz
2005-02-07 18:11         ` Glynn Clements

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).