Linux root Password Reset

 
Thread Tools Search this Thread
Top Forums UNIX for Beginners Questions & Answers Linux root Password Reset
# 1  
Old 12-02-2017
Linux root Password Reset

Hi ,

I ve a question about the Linux system root password change.
Which can be done using grub menu without inputting the old password.Smilie


So If anybody can change the root password without any password and then how it is secure. Anybody can manipulate the other user using the root password ?
Next question is
What is meant for sudo root password ?Smilie

BR,
PD

Last edited by Scrutinizer; 12-02-2017 at 04:03 AM.. Reason: Changed "doubt" to "question"
This User Gave Thanks to pradyumnajpn10 For This Post:
# 2  
Old 12-02-2017
You cannot change a root password using just grub. The system boots from a hard drive and the password is stored in encrypted form there.

IF you have access to the system console and IF you know what you're doing, you can boot from DVD IF you have the media and IF booting from DVD is not denied, and remove the root password.

Without solid knowledge of the Operating System (how to mount/dismount filesystems, what file(s) to change and exactly how to do that, it's far from easy. Even many system managers don't even know how to start the process without searching for it and, typically, asking a question on this forum. You need access to the console terminal to even start and servers are often locked away in a computer room.

Don't be too concerned. If it was that easy everybody would be doing it. Keep your security policy tight though.
# 3  
Old 12-02-2017
In the good old days we had really secured Sparc workstations in offices.
A non-default boot (from external media or network) required a boot password.
The default-boot used the internal disk. The box had a lock, so it was impossible to exchange the internal disk. The lock also tied the box to the desk.
Today we do not have this high level of protection. On the other hand the costs are much lower.
# 4  
Old 12-02-2017
Hi hicksd8,

Thanks for the reply. I am talking about general, a home PC. I just followed the link which I supplied in my earlier post and was able to change my root password and now logging in with my new root password.

Sorry about my short experience in Linux just today Installed Linux 7 and tried to covers basics. I searched a lot but did not find any suitable answer to m.y query yet
# 5  
Old 12-02-2017
There is no link on your earlier post (on this thread).

Tell us the steps you did to circumvent the root password.
# 6  
Old 12-02-2017
And there is no "Linux 7" either.
Du you have a CentOS 7.x distro?
# 7  
Old 12-02-2017
Security here is to be understood from outer world, servers are in computer rooms, I doubt you unless you are a senior sysadm will have access, as mentionned above there is no more security if someone can physically get hold of your equipment, to be able to use grub means being in front of the PC... All you can do in such case is not allow to boot from any other device on your PC, and now you can guess what possible issue you risk...
That is why the hardening is difficult with cheap equipment
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Giving password reset access to non-root user, in LDAP

Hi, We have two LDAP servers. Whenever we get a ticket to reset the password, we login to LDAP primary server and reset the password. For below example, I logged into primary LDAP server and resetting password to john to Welcome123# We are giving this work to tier-1 team, so that they can reset... (1 Reply)
Discussion started by: ron323232
1 Replies

2. Solaris

How to reset forgotten mysql root password?

Hi All, I just found one thread on this forum on this subject here: Forgot MYSQL password root | Unix Linux Forums | Web Development but unfortunately the issue was not resolved. I have the same problem with the same error message. The background is that I built a Solaris 11 x86 server... (11 Replies)
Discussion started by: hicksd8
11 Replies

3. Solaris

solaris 8 reset root password from OSX

Hello, I have two old Solaris machines $ uname -a SunOS unknown 5.8 Generic_117350-39 sun4u sparc SUNW,UltraAX-e2 unfortunately, it has been so long ago that i have used these that the root password has left my head... i can log into one of the machine as a normal user, but am unable to... (4 Replies)
Discussion started by: Norman Khine
4 Replies

4. Emergency UNIX and Linux Support

Reset AIX root password without shutting down the system

Hi All, I'm stuck in a severe problem here , Someone have changed the root password and he cannot remember it and there is no other user privileged user on the system , But I do have access to a non privileged user. On the top of the system an application which requires a theoretical ... (5 Replies)
Discussion started by: h@foorsa.biz
5 Replies

5. Red Hat

Fedora reset root password

I need some help with Fedora. I am trying to reset the root password. When I tried to login I was not able to. I kept getting the authentication failure message. I got the password reset success message. passwd: all authentication tokens updated successfully. I then thought maybe the root... (6 Replies)
Discussion started by: cokedude
6 Replies

6. UNIX for Advanced & Expert Users

How to reset the ldap root password?

How to change the ldap root password. I have generated the password by using "slappasswd " command, but In my root machine "/etc/ldap/sldap.d" file is not there. instead of the file sldap.d directory only is there. please help me...? (0 Replies)
Discussion started by: ungalnanban
0 Replies

7. UNIX for Dummies Questions & Answers

Permission denied when changing root password after reset

I have a Solaris 10 machine that I didn't know the root password to so I went into single user mode and removed the password from the shadow file and rebooted and I am able to login with no password now. But my problem is that when I try to change the root password from no password to something... (0 Replies)
Discussion started by: darkone_d1_2000
0 Replies

8. Solaris

Reset lost superuser/root password in x86

I've come across this question during interview as Sys Adm. "How you reset lost root/superuser password on x86 system running solaris (8/9/10) which remotely located. (Not locally in front of you)" As much as I know, you must be physically in front of the server to reset the lost... (4 Replies)
Discussion started by: shahru
4 Replies

9. UNIX for Advanced & Expert Users

Not able to reset mysql root password

Hi, My root password for mysql has some problem as it dosent allow me to login.... all commands to reset it failed. so I removed mysql yum remove mysql and installed it by yum install mysql mysql-devel mysql-server and it installed fine I gave chkconfig --levels 235 mysqld on... (1 Reply)
Discussion started by: viji19812001
1 Replies

10. Cybersecurity

How to reset root password of old Unix System V

Hi all, This is first time I met unix in my life. I purchased old Scanning Elecron Microscope which came with 486/33MHz PC running Unix System V, ver. 3.6. The one simple user name/passw is known so I can boot and login. But can not shutdown! It asks root or su passw. I'm very sensitive not to... (6 Replies)
Discussion started by: 82026
6 Replies
Login or Register to Ask a Question