View previous topic :: View next topic |
Author |
Message |
pomaranca Tux's lil' helper
Joined: 26 Mar 2006 Posts: 87 Location: ljubljana
|
Posted: Wed Oct 24, 2012 5:15 pm Post subject: Login problem |
|
|
I fiddled around a bit and unmerged sys-dev/shadow, pam, and few more packages, but not openssh... then accidently closed ssh shell and here i am. When I try to login nothing happens, on local terminal or from openssh. I know there are instructions to chroot from a live cd in gentoo handbook, but is there another way.
How to get back into root shell? |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
BitJam Advocate
Joined: 12 Aug 2003 Posts: 2508 Location: Silver City, NM
|
Posted: Wed Oct 24, 2012 5:52 pm Post subject: |
|
|
Here are instructions for booting into single user mode on Gentoo. As a last resort you can try adding init=/bin/bash as a boot parameter but the system won't be fully functional. |
|
Back to top |
|
|
pomaranca Tux's lil' helper
Joined: 26 Mar 2006 Posts: 87 Location: ljubljana
|
Posted: Wed Oct 24, 2012 7:27 pm Post subject: |
|
|
Yeah, forgot about single user mode. Though I couldn't emerge from it, init=/bin/bash gave me a more useful shell, but then I thought of chrooting from a live USB, which saved me this time.
Thanks to both!
Is there perhaps a third way? |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
pomaranca Tux's lil' helper
Joined: 26 Mar 2006 Posts: 87 Location: ljubljana
|
Posted: Wed Oct 24, 2012 8:07 pm Post subject: |
|
|
Great! I'll dot it next time |
|
Back to top |
|
|
|