[opensuse] lost root password
12.3 Hi How do we rest the root password? We've been trying 3 hours and all we've found is to put this: init = /bin/sh Somewhere but w don't know how to get to that screen. Thanks. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 07/23/2015 07:27 PM, buhorojo wrote:
12.3 Hi How do we rest the root password?
We've been trying 3 hours and all we've found is to put this: init = /bin/sh
Somewhere but w don't know how to get to that screen.
Thanks.
Without space maybe ? Dsant, from France -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
buhorojo composed on 2015-07-23 19:27 (UTC+0200):
12.3
How do we rest the root password?
We've been trying 3 hours and all we've found is to put this: init = /bin/sh
Somewhere but w don't know how to get to that screen.
https://en.opensuse.org/SDB:Recover_root_password -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Le 23/07/2015 19:38, Felix Miata a écrit :
buhorojo composed on 2015-07-23 19:27 (UTC+0200):
12.3
How do we rest the root password?
We've been trying 3 hours and all we've found is to put this: init = /bin/sh
Somewhere but w don't know how to get to that screen.
the key is add it to the Grub "kernel" line usually sort of going to the advanced mode of grub, then hitting "e" should go to the edit mode (look at the screen, the comments there as significant) jdd -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Le 23/07/2015 19:38, Felix Miata a écrit :
buhorojo composed on 2015-07-23 19:27 (UTC+0200):
12.3
How do we rest the root password?
We've been trying 3 hours and all we've found is to put this: init = /bin/sh
Somewhere but w don't know how to get to that screen.
the key is
add it to the Grub "kernel" line
usually sort of going to the advanced mode of grub, then hitting "e" should go to the edit mode (look at the screen, the comments there as significant)
jdd Hi Thanks. How do we go to the '...advanced mode of grub'? there are two options. opensuse 12.3 and advanced options for opensuse 12.3. The latter brings up another screen with different kernels. Choosing any of the four
On 23/07/15 19:49, jdd wrote: option there, it simply goes ahead and boots. No chance to edit anything:( -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
В Thu, 23 Jul 2015 20:39:16 +0200 buhorojo <buhorojo.lcb@gmail.com> пишет:
Le 23/07/2015 19:38, Felix Miata a écrit :
buhorojo composed on 2015-07-23 19:27 (UTC+0200):
12.3
How do we rest the root password?
We've been trying 3 hours and all we've found is to put this: init = /bin/sh
Somewhere but w don't know how to get to that screen.
the key is
add it to the Grub "kernel" line
usually sort of going to the advanced mode of grub, then hitting "e" should go to the edit mode (look at the screen, the comments there as significant)
jdd Hi Thanks. How do we go to the '...advanced mode of grub'? there are two options. opensuse 12.3 and advanced options for opensuse 12.3. The latter brings up another screen with different kernels. Choosing any of the four
On 23/07/15 19:49, jdd wrote: option there, it simply goes ahead and boots. No chance to edit anything:(
Press 'e' on menu entry. Does not it show help text on the bottom? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Andrei Borzenkov composed on 2015-07-23 22:06 (UTC+0300):
Thu, 23 Jul 2015 20:39:16 +0200 buhorojo composed:
How do we go to the '...advanced mode of grub'? there are two options. opensuse 12.3 and advanced options for opensuse 12.3. The latter brings up another screen with different kernels. Choosing any of the four option there, it simply goes ahead and boots. No chance to edit anything:(
Press 'e' on menu entry. Does not it show help text on the bottom?
Additional info seems to be missing from the openSUSE wiki, but Ubuntu should be the same even back in 12.3: http://www.howtogeek.com/196520/grub2-101-how-to-access-and-use-your-linux-d... -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 23/07/15 21:06, Andrei Borzenkov wrote:
В Thu, 23 Jul 2015 20:39:16 +0200 buhorojo <buhorojo.lcb@gmail.com> пишет:
Le 23/07/2015 19:38, Felix Miata a écrit :
buhorojo composed on 2015-07-23 19:27 (UTC+0200):
12.3 How do we rest the root password? We've been trying 3 hours and all we've found is to put this: init = /bin/sh Somewhere but w don't know how to get to that screen. https://en.opensuse.org/SDB:Recover_root_password
the key is
add it to the Grub "kernel" line
usually sort of going to the advanced mode of grub, then hitting "e" should go to the edit mode (look at the screen, the comments there as significant)
jdd Hi Thanks. How do we go to the '...advanced mode of grub'? there are two options. opensuse 12.3 and advanced options for opensuse 12.3. The latter brings up another screen with different kernels. Choosing any of the four
On 23/07/15 19:49, jdd wrote: option there, it simply goes ahead and boots. No chance to edit anything:( Press 'e' on menu entry. Does not it show help text on the bottom? Hi I pressed e. We now get: setparams openSUSE 12.3 [list of options such as load_video in a text box] Then, beneath the box, Minimum Emacs-like screen editing is supported. Ctrl X to boot. Ctrl-c for a command line
Anyone now how to proceed from here? Thanks -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
* buhorojo <buhorojo.lcb@gmail.com> [07-23-15 15:48]: [...]
I pressed e. We now get: setparams openSUSE 12.3 [list of options such as load_video in a text box] Then, beneath the box, Minimum Emacs-like screen editing is supported. Ctrl X to boot. Ctrl-c for a command line
Anyone now how to proceed from here?
Find the line beginning with "linux", go to the end of the line (may be wrapped) Add a space and init=/bin/bash should be good to go. -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 23/07/15 22:37, Patrick Shanahan wrote:
* buhorojo <buhorojo.lcb@gmail.com> [07-23-15 15:48]: [...]
I pressed e. We now get: setparams openSUSE 12.3 [list of options such as load_video in a text box] Then, beneath the box, Minimum Emacs-like screen editing is supported. Ctrl X to boot. Ctrl-c for a command line
Anyone now how to proceed from here? Find the line beginning with "linux", go to the end of the line (may be wrapped) Add a space and init=/bin/bash
should be good to go. Perfect. That did it:)
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
* buhorojo <buhorojo.lcb@gmail.com> [07-23-15 15:48]: [...]
I pressed e. We now get: setparams openSUSE 12.3 [list of options such as load_video in a text box] Then, beneath the box, Minimum Emacs-like screen editing is supported. Ctrl X to boot. Ctrl-c for a command line
Anyone now how to proceed from here? Find the line beginning with "linux", go to the end of the line (may be wrapped) Add a space and init=/bin/bash
should be good to go. Hi We are concerned that this is easy to do. Is there any way we can
On 23/07/15 22:37, Patrick Shanahan wrote: prevent this? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Thu, Jul 23, 2015 at 5:12 PM, buhorojo <buhorojo.lcb@gmail.com> wrote:
On 23/07/15 22:37, Patrick Shanahan wrote:
* buhorojo <buhorojo.lcb@gmail.com> [07-23-15 15:48]: [...]
I pressed e. We now get: setparams openSUSE 12.3 [list of options such as load_video in a text box] Then, beneath the box, Minimum Emacs-like screen editing is supported. Ctrl X to boot. Ctrl-c for a command line
Anyone now how to proceed from here?
Find the line beginning with "linux", go to the end of the line (may be wrapped) Add a space and init=/bin/bash
should be good to go.
Hi We are concerned that this is easy to do. Is there any way we can prevent this?
If a person has physical access to a server the only way to stop them from easily resetting the root password is to encrypt the root partition. That is doable, but I've never done it. I use a lock and key to keep my machines physically secure. Greg -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 23 July 2015 at 22:16, Greg Freemyer <greg.freemyer@gmail.com> wrote:
If a person has physical access to a server the only way to stop them from easily resetting the root password is to encrypt the root partition.
Or to put a BIOS/UEFI password at startup. -- Ottavio -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Le 23/07/2015 23:18, Ottavio Caruso a écrit :
On 23 July 2015 at 22:16, Greg Freemyer <greg.freemyer@gmail.com> wrote:
If a person has physical access to a server the only way to stop them from easily resetting the root password is to encrypt the root partition.
Or to put a BIOS/UEFI password at startup.
do not prevent removing the HDD to read it elsewhere jdd -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 23 July 2015 at 22:21, jdd <jdd@dodin.org> wrote:
Le 23/07/2015 23:18, Ottavio Caruso a écrit :
On 23 July 2015 at 22:16, Greg Freemyer <greg.freemyer@gmail.com> wrote:
If a person has physical access to a server the only way to stop them from easily resetting the root password is to encrypt the root partition.
Or to put a BIOS/UEFI password at startup.
do not prevent removing the HDD to read it elsewhere
Hire a $100 an hour security guard? -- Ottavio -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 07/23/2015 05:22 PM, Ottavio Caruso wrote:
Hire a $100 an hour security guard?
How secure against malice and evildoers do you want to be? http://www.businessinsider.com/san-francisco-techies-hiring-wiccan-witch-to-... -- A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting frowned upon? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Thursday, July 23, 2015 11:21:29 PM jdd wrote:
Le 23/07/2015 23:18, Ottavio Caruso a écrit :
On 23 July 2015 at 22:16, Greg Freemyer <greg.freemyer@gmail.com> wrote:
If a person has physical access to a server the only way to stop them from easily resetting the root password is to encrypt the root partition.
Or to put a BIOS/UEFI password at startup.
do not prevent removing the HDD to read it elsewhere
jdd
You could use LVM and Encrypt the whole Hard Disk Drive. Do not forget you Key or Password. That way it always ask for password first before get into the user session. Regards, -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
В Thu, 23 Jul 2015 23:12:05 +0200 buhorojo <buhorojo.lcb@gmail.com> пишет:
* buhorojo <buhorojo.lcb@gmail.com> [07-23-15 15:48]: [...]
I pressed e. We now get: setparams openSUSE 12.3 [list of options such as load_video in a text box] Then, beneath the box, Minimum Emacs-like screen editing is supported. Ctrl X to boot. Ctrl-c for a command line
Anyone now how to proceed from here? Find the line beginning with "linux", go to the end of the line (may be wrapped) Add a space and init=/bin/bash
should be good to go. Hi We are concerned that this is easy to do. Is there any way we can
On 23/07/15 22:37, Patrick Shanahan wrote: prevent this?
It is possible to configure grub2 so that going into command line or editing menu entry requires a password. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On July 23, 2015 11:21:24 PM EDT, Andrei Borzenkov <arvidjaar@gmail.com> wrote:
В Thu, 23 Jul 2015 23:12:05 +0200 buhorojo <buhorojo.lcb@gmail.com> пишет:
* buhorojo <buhorojo.lcb@gmail.com> [07-23-15 15:48]: [...]
I pressed e. We now get: setparams openSUSE 12.3 [list of options such as load_video in a text box] Then, beneath the box, Minimum Emacs-like screen editing is supported. Ctrl X to boot. Ctrl-c for a command line
Anyone now how to proceed from here? Find the line beginning with "linux", go to the end of the line (may be wrapped) Add a space and init=/bin/bash
should be good to go. Hi We are concerned that this is easy to do. Is there any way we can
On 23/07/15 22:37, Patrick Shanahan wrote: prevent this?
It is possible to configure grub2 so that going into command line or editing menu entry requires a password.
Doesn't stop the boot CD/DVD/flash drive mechanism. A combination of a bios/uefi boot password and a hard drive ata drive password does work. The ata drive password keeps the drive from working except in the computer it is paired to. The bios/uefi boot password prevents the bios from activating the drive. I have seen that done in the real world, but encryption is much more common solution. Fyi: ata password capability is part of the ata spec so most drives should support it, but in many cases the manufacturer implements it poorly and the right software can remove it or determine what the password is Here's a post about hacking Seagate drives to determine the ata password: http://hackaday.com/2013/11/29/bypassing-seagate-ata-security-lock/ Here's the code: https://github.com/BlackLotus/seaget I gather you need a special cable to connect your PC's serial port (rs-232) to the drive's serial interface pins, then this code interrogates the drive and simply grabs a data buffer that has the password in plain text embedded. Greg
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-- Sent from my Android device with K-9 Mail. Please excuse my brevity. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 2015-07-24 14:06, greg.freemyer@gmail.com wrote:
Here's a post about hacking Seagate drives to determine the ata password: http://hackaday.com/2013/11/29/bypassing-seagate-ata-security-lock/
Here's the code: https://github.com/BlackLotus/seaget
I gather you need a special cable to connect your PC's serial port (rs-232) to the drive's serial interface pins, then this code interrogates the drive and simply grabs a data buffer that has the password in plain text embedded.
Wow! :-o So not safe at all... - -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" (Minas Tirith)) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iF4EAREIAAYFAlWyLDgACgkQja8UbcUWM1z20wD/Ug/JPDp3IMaeBELgZO5i3piD EM0z0avmxlaUHDUdqO4A/Rpk0EC8vqUdkP10oPGHfIxpkCUAa0bOMO4etUwMS4gb =7ynq -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 2015-07-24 14:06, greg.freemyer@gmail.com wrote:
A combination of a bios/uefi boot password and a hard drive ata drive password does work.
The ata drive password keeps the drive from working except in the computer it is paired to. The bios/uefi boot password prevents the bios from activating the drive.
I have seen that done in the real world, but encryption is much more common solution.
Doesn't it require support from the BIOS, to prompt for the password on each boot? I have not seen anybody using this method, with Linux (on boot/system disk). - -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" (Minas Tirith)) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iF4EAREIAAYFAlWyLQsACgkQja8UbcUWM1w0+QD+NoCtlBokkVoyS2D+fIemh8LC 65iRNKA83EfIZFxIfdgA/1EenSL/XuI/YIxKHd85bplzBXhHneOvqYWd6Uigxi4E =TrDS -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On July 24, 2015 8:18:19 AM EDT, "Carlos E. R." <robin.listas@telefonica.net> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
On 2015-07-24 14:06, greg.freemyer@gmail.com wrote:
A combination of a bios/uefi boot password and a hard drive ata drive password does work.
The ata drive password keeps the drive from working except in the computer it is paired to. The bios/uefi boot password prevents the bios from activating the drive.
I have seen that done in the real world, but encryption is much more common solution.
Doesn't it require support from the BIOS, to prompt for the password on each boot? I have not seen anybody using this method, with Linux (on boot/system disk).
It does need bios support, but it doesn't work as you describe from what I understand. The password is maintained by the bios. When the disk is powered on it initially refuses to accept read/write commands. The bios automatically sends the password and enables the drive. No user interaction required. Typically a user would also have a separate bios password setup that has to be entered. But that is a separate password, so the user only enters the ata password once when the bios and the drive are paired together. Makes it very easy to forget. Greg -- Sent from my Android device with K-9 Mail. Please excuse my brevity. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 2015-07-24 14:26, greg.freemyer@gmail.com wrote:
Doesn't it require support from the BIOS, to prompt for the password on each boot? I have not seen anybody using this method, with Linux (on boot/system disk).
It does need bios support, but it doesn't work as you describe from what I understand.
The password is maintained by the bios. When the disk is powered on it initially refuses to accept read/write commands. The bios automatically sends the password and enables the drive.
Oh! :-o How does the bios know the password? It has to be entered somewhere.
No user interaction required.
Typically a user would also have a separate bios password setup that has to be entered. But that is a separate password, so the user only enters the ata password once when the bios and the drive are paired together. Makes it very easy to forget.
Ah, I see. But still I don't know how to enter, initially, the disk password. :-? - -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" (Minas Tirith)) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iF4EAREIAAYFAlWyL/YACgkQja8UbcUWM1wEzQD/ZHftQBMO4oVmTxus634DNnCF zhqu1x84NnMBGRmSRpoA/2SWYjezgMbn95c3wM5KqmenY5T8RLbN3Uhsmak27zuj =50qQ -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On July 24, 2015 8:30:46 AM EDT, "Carlos E. R." <robin.listas@telefonica.net> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
On 2015-07-24 14:26, greg.freemyer@gmail.com wrote:
Doesn't it require support from the BIOS, to prompt for the password on each boot? I have not seen anybody using this method, with Linux (on boot/system disk).
It does need bios support, but it doesn't work as you describe from what I understand.
The password is maintained by the bios. When the disk is powered on it initially refuses to accept read/write commands. The bios automatically sends the password and enables the drive.
Oh! :-o
How does the bios know the password? It has to be entered somewhere.
No user interaction required.
Typically a user would also have a separate bios password setup that has to be entered. But that is a separate password, so the user only enters the ata password once when the bios and the drive are paired together. Makes it very easy to forget.
Ah, I see.
But still I don't know how to enter, initially, the disk password. :-?
Carlos, Here's someone describing setting the ATA password via the bios of a Dell Latitude then using hdparm to clear it. http://thaeial.blogspot.com/2013/01/locking-and-unlocking-hdd-with-dell.html... I believe many/most laptop bios's offer a simple selection to enter the ATA password. When that is done they pair themselves to the drive. It is not an exotic feature. Greg -- Sent from my Android device with K-9 Mail. Please excuse my brevity. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 2015-07-24 14:57, greg.freemyer@gmail.com wrote:
But still I don't know how to enter, initially, the disk password. :-?
Carlos,
Here's someone describing setting the ATA password via the bios of a Dell Latitude then using hdparm to clear it.
http://thaeial.blogspot.com/2013/01/locking-and-unlocking-hdd-with-dell.html...
I believe many/most laptop bios's offer a simple selection to enter the ATA password. When that is done they pair themselves to the drive. It is not an exotic feature.
I knew about hdparm, but I have not noticed any entry in my BIOS for it. I will have another look. Even if it were unsecure, it is a deterrent on a laptop. If paranoid, I can have an encrypted partition for data files. - -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" (Minas Tirith)) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iF4EAREIAAYFAlWyQtMACgkQja8UbcUWM1yOqgD/T1Wn2xalU6W7YnOytsb9wTmz BPMxJCy2ycB2UBDVFoIA/j0PiVxGPk9BRNzcNbW9LOvVnn9DQjXVdt2i6kk5slh1 =TiSU -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Thu, Jul 23, 2015 at 1:27 PM, buhorojo <buhorojo.lcb@gmail.com> wrote:
12.3 Hi How do we rest the root password?
We've been trying 3 hours and all we've found is to put this: init = /bin/sh
Somewhere but w don't know how to get to that screen.
Thanks.
So you are trying method 3 from https://en.opensuse.org/SDB:Recover_root_password The "init=/bin/sh" arg is something you are adding to the kernel boot line. So based on which boot manager (grub, grub2, lilo) they each have their own way to go into an advanced boot method and add things to the kernel boot command. You should be able to figure that out via trial and error. === Personally I use method 1 from the wiki article. That is use a openSUSE boot CD. Good Luck Greg -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 07/23/2015 12:27 PM, buhorojo wrote:
12.3 Hi How do we rest the root password?
We've been trying 3 hours and all we've found is to put this: init = /bin/sh
Somewhere but w don't know how to get to that screen.
Thanks.
(note: the following is from the sysVinit days, but should be the same since reboot is linked to systemctl reboot) 1. Boot the system and select the normal boot menu from the list. Once selected, in the “Boot Options” box type init=/bin/bash (if you are using GRUB Boot loader) linux init=/bin/bash (if you are using LILO Boot Loader) Do a mount command to check if the root file system “/” is mounted as Read-Write. In my system, it indeed mounted as Read-Write. opensuse:~ # mount Root file system mounted as Read-Write Otherwise, you may need to remount the “/” file system with read-write as follows: opensuse:~ # mount -o remount,rw / Now, simply type the passwd command and enter a new password: opensuse:~ # passwd Changing password for root New Password: Reenter New Password: Password changed Reboot the system and you are back in business. opensuse:~ # reboot -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 23/07/15 20:46, David C. Rankin wrote:
On 07/23/2015 12:27 PM, buhorojo wrote:
12.3 Hi How do we rest the root password?
We've been trying 3 hours and all we've found is to put this: init = /bin/sh
Somewhere but w don't know how to get to that screen.
Thanks.
(note: the following is from the sysVinit days, but should be the same since reboot is linked to systemctl reboot)
1. Boot the system and select the normal boot menu from the list. Once selected, in the “Boot Options” box type Hi OK. That's where we're lost. We don't have 'normal boot menu' on the list. We have: opensuse 12.3 advanced options for opensuse 12.3
The latter brings up another menu with 4 options, normal and advanced boot for each of two variants of the kernel that were installed, presumably as a result on an update).
init=/bin/bash (if you are using GRUB Boot loader)
linux init=/bin/bash (if you are using LILO Boot Loader)
Do a mount command to check if the root file system “/” is mounted as Read-Write. In my system, it indeed mounted as Read-Write.
opensuse:~ # mount
Root file system mounted as Read-Write
Otherwise, you may need to remount the “/” file system with read-write as follows:
opensuse:~ # mount -o remount,rw /
Now, simply type the passwd command and enter a new password:
opensuse:~ # passwd Changing password for root New Password: Reenter New Password: Password changed
Reboot the system and you are back in business.
opensuse:~ # reboot
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 07/23/2015 02:04 PM, buhorojo wrote:
Hi OK. That's where we're lost. We don't have 'normal boot menu' on the list. We have: opensuse 12.3 advanced options for opensuse 12.3
The latter brings up another menu with 4 options, normal and advanced boot for each of two variants of the kernel that were installed, presumably as a result on an update).
All you need to do is type the init=/bin/bash into the boot options dialog (I believe you can just look at the bottom of the boot screen for the "boot options" hot-key and select it. Worst case, I believe you can just hit "e" for "edit" and drop to the traditional grub command line menu and edit the boot options there. Somebody with a current grub boot menu will have to chime in and give your the exact details. Honestly, from memory, all you need to do is press the "up-arrow" or "down-arrow" to stop the automatic count-down timer, and then you can look at the options at your leisure. I've used the exact procedure several times and it works like a charm. -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (13)
-
Andrei Borzenkov
-
Anton Aylward
-
buhorojo
-
Carlos E. R.
-
David C. Rankin
-
Dsant
-
Felix Miata
-
Greg Freemyer
-
greg.freemyer@gmail.com
-
jdd
-
Ottavio Caruso
-
Patrick Shanahan
-
Ricardo Chung