Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Single User Mode
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
silverchris
Tux's lil' helper
Tux's lil' helper


Joined: 04 Oct 2003
Posts: 142
Location: Orangeville, Ont, Canada

PostPosted: Sun Jul 17, 2005 9:57 pm    Post subject: Single User Mode Reply with quote

How do I get in to single user mode.
I searched but I could not find anything that worked.
I tried adding single to the kernel line but it did nothing.
Back to top
View user's profile Send private message
zonk
Apprentice
Apprentice


Joined: 23 May 2005
Posts: 176

PostPosted: Sun Jul 17, 2005 10:07 pm    Post subject: Reply with quote

append "init 1" as a kernel parameter

edit: at least i think that's what does it
Back to top
View user's profile Send private message
silverchris
Tux's lil' helper
Tux's lil' helper


Joined: 04 Oct 2003
Posts: 142
Location: Orangeville, Ont, Canada

PostPosted: Sun Jul 17, 2005 10:09 pm    Post subject: Reply with quote

I will try that. Thanks
Back to top
View user's profile Send private message
silverchris
Tux's lil' helper
Tux's lil' helper


Joined: 04 Oct 2003
Posts: 142
Location: Orangeville, Ont, Canada

PostPosted: Sun Jul 17, 2005 10:15 pm    Post subject: Reply with quote

It did not work so I just hooked up a cd drive and used the live cd to fix my password.
thanks for tring.:)
Back to top
View user's profile Send private message
ter_roshak
Apprentice
Apprentice


Joined: 31 Jan 2004
Posts: 171
Location: Everett, WA

PostPosted: Mon Jul 18, 2005 2:03 am    Post subject: Re: Single User Mode Reply with quote

silverchris wrote:
How do I get in to single user mode.
I searched but I could not find anything that worked.
I tried adding single to the kernel line but it did nothing.


A good way to get into single user mode is to boot your machine and when you get to the grub menu, edit the parameters for your kernel, add a space and 'single' to the end. You will then boot into single user mode and be able to change your root password.
_________________
Josh Miller -- RHCE, VCP
Ditree Consulting
http://ditree.com/
Registered Linux User #318200
Back to top
View user's profile Send private message
silverchris
Tux's lil' helper
Tux's lil' helper


Joined: 04 Oct 2003
Posts: 142
Location: Orangeville, Ont, Canada

PostPosted: Mon Jul 18, 2005 2:07 am    Post subject: Reply with quote

I tried that but it just kept booting normaly
Back to top
View user's profile Send private message
ter_roshak
Apprentice
Apprentice


Joined: 31 Jan 2004
Posts: 171
Location: Everett, WA

PostPosted: Mon Jul 18, 2005 2:18 am    Post subject: Reply with quote

silverchris wrote:
I tried that but it just kept booting normaly


So it starts in runlevel 3 anyway? Do all of your services start? Are you not logged in when it starts up? What is the output from the following command?

Code:

runlevel

_________________
Josh Miller -- RHCE, VCP
Ditree Consulting
http://ditree.com/
Registered Linux User #318200
Back to top
View user's profile Send private message
silverchris
Tux's lil' helper
Tux's lil' helper


Joined: 04 Oct 2003
Posts: 142
Location: Orangeville, Ont, Canada

PostPosted: Mon Jul 18, 2005 2:34 am    Post subject: Reply with quote

it would just start up to the login prompt. I just used the livecd to boot it and change the password. I am using hardened sources on it that mught be what is stopping it.
Back to top
View user's profile Send private message
ter_roshak
Apprentice
Apprentice


Joined: 31 Jan 2004
Posts: 171
Location: Everett, WA

PostPosted: Mon Jul 18, 2005 4:29 am    Post subject: Reply with quote

silverchris wrote:
it would just start up to the login prompt. I just used the livecd to boot it and change the password. I am using hardened sources on it that mught be what is stopping it.


Ahhh, that could be it. I'll have to take a look into that.

Anyone know for sure?
_________________
Josh Miller -- RHCE, VCP
Ditree Consulting
http://ditree.com/
Registered Linux User #318200
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum