View previous topic :: View next topic |
Author |
Message |
Sargonas Apprentice
Joined: 10 Feb 2003 Posts: 213 Location: user@localhost
|
Posted: Mon May 17, 2004 9:48 pm Post subject: Silo + single user mode |
|
|
OK, one of my professors came up to me and asked me to get the root password off on of the blades we have set up at our college. Unfortuately the person who knew the password, has graduated, and I have no clue for contact information. I dont know much about silo or sparcs. So I was wondering how can I get dropped to a single user prompt like with grub when you specify init=/bin/bash.
I have tried:
Code: |
ok boot single
boot single
linux single
linux root=/dev/sda2 init=/bin/bash
gentoo single
gentoo root=/dev/sda2 init=/bin/bash
|
Sorry that I am posting such a stupid question but have searched the internet and cant find anything that doesnt revolve around ok boot single. Thanks for your time. _________________ I do not consider it an insult, but rather a compliment to be called an agnostic. I do not pretend to know where many ignorant men are sure -- that is all Agnosticism means. - Clarence Darrow |
|
Back to top |
|
|
hardave Retired Dev
Joined: 12 Nov 2003 Posts: 38 Location: Alberta, Canada
|
Posted: Tue May 18, 2004 1:07 am Post subject: |
|
|
All you should need to do is boot into the silo prompt. Hit <tab> to see available kernels, then type 'kernname init=/bin/bash'. This should drop you into a root shell where you can run passwd or edit the shadow file. If you're still having problems for whatever reason, you can also boot from a livecd, mount the root partition, chroot into it and run the passwd command.
http://www.sparc-boot.org/usingsilo.html |
|
Back to top |
|
|
Sargonas Apprentice
Joined: 10 Feb 2003 Posts: 213 Location: user@localhost
|
Posted: Tue May 18, 2004 3:15 am Post subject: |
|
|
Worked beautifully, thank you very much! _________________ I do not consider it an insult, but rather a compliment to be called an agnostic. I do not pretend to know where many ignorant men are sure -- that is all Agnosticism means. - Clarence Darrow |
|
Back to top |
|
|
|