discussion about forgotten root password

A 5 star hangout for overworked and underpaid system admins.
Post Reply
saleh
Posts: 97
Joined: 2011/02/18 18:35:11
Location: ~/egypt/alexandria
Contact:

discussion about forgotten root password

Post by saleh » 2011/07/14 21:44:08

Hi all,

any body know that, if he forgot the root password, he can passes an argument 1 to the kernal, to enter run level 1, but i notice that this way not work with Ubuntu and some other distributions.

In my opinion, this way is reduce security in OS, and we can do the same thing by live CD, so i want to tell me what's your opinion about that?
Thanks );

lavinius
Posts: 31
Joined: 2011/03/28 06:37:11
Location: Brisbane, Australia

Re: discussion about forgotten root password

Post by lavinius » 2011/07/14 23:53:39

[quote]
saleh wrote:
Hi all,

any body know that, if he forgot the root password, he can passes an argument 1 to the kernal, to enter run level 1, but i notice that this way not work with Ubuntu and some other distributions.

In my opinion, this way is reduce security in OS, and we can do the same thing by live CD, so i want to tell me what's your opinion about that?
Thanks );[/quote]

you need physical access to the box to boot and change root pass so i don't see a security risk, one way to fix this is to use encryption to encrypt your workstation, they will need your pass-phrase to mount the HDD, the down side is you have to type that after each reboot, from the keyboard

saleh
Posts: 97
Joined: 2011/02/18 18:35:11
Location: ~/egypt/alexandria
Contact:

Re: discussion about forgotten root password

Post by saleh » 2011/07/15 00:07:17

[quote]you need physical access to the box to boot and change root pass so i don't see a security risk, one way to fix this is to use encryption to encrypt your workstation, they will need your pass-phrase to mount the HDD, the down side is you have to type that after each reboot, from the keyboard[/quote]

The same thing i think in, but you know that, this way was found in Ubuntu9.10, 10.10 but now it is n't. so i asked my self why?

gerald_clark
Posts: 10642
Joined: 2005/08/05 15:19:54
Location: Northern Illinois, USA

discussion about forgotten root password

Post by gerald_clark » 2011/07/15 16:35:37

That would be better answered in an Ubuntu forum.

hawaiian717
Posts: 184
Joined: 2009/01/30 19:58:25
Location: California

Re: discussion about forgotten root password

Post by hawaiian717 » 2011/07/20 19:27:46

You can also put a password on Grub, so that you can boot the system normally without a password, but you need to enter the password in order to change anything, such as changing the options to enter runlevel 1.

Of course, if you're going to do this, you'll need to remember the Grub password in order to reset the root password.

Post Reply