Solved

Linux Suse root password missing

Posted on 2009-07-15
4
499 Views
Last Modified: 2013-12-05
Linux server with root password missing. What steps to add new password?
0
Comment
Question by:wiseman301
  • 2
4 Comments
 
LVL 40

Expert Comment

by:mrjoltcola
Comment Utility
Login as root:


Type: passwd

Enter the new password twice.

0
 
LVL 30

Accepted Solution

by:
Kerem ERSOY earned 125 total points
Comment Utility
If it is SuSe do you have a user with sudo ability?

Then execute this command:

sudo su -

enter your password when asked. then you are root execute the passwd command.

or  you can use

sudo passwd root

If you can not use sudo reboot your system during the initial Grub or LILO. Enter in rescue mode then you're root
mount your volume to /mnt and edit /mnt/etc edit passwd file and remove root password beteen :: signs.
Reboot assign a new password
0
 
LVL 40

Expert Comment

by:mrjoltcola
Comment Utility
Sorry, I was confused, and thought the password was "missing" as in clear, not unknown. My answer assumes the former. If not, follow KeremE's directions.
0
 

Author Closing Comment

by:wiseman301
Comment Utility
I found the root password in an old file. thanks for your help.
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now