Solved

Linux Suse root password missing

Posted on 2009-07-15
4
503 Views
Last Modified: 2013-12-05
Linux server with root password missing. What steps to add new password?
0
Comment
Question by:wiseman301
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 40

Expert Comment

by:mrjoltcola
ID: 24862417
Login as root:


Type: passwd

Enter the new password twice.

0
 
LVL 30

Accepted Solution

by:
Kerem ERSOY earned 125 total points
ID: 24862455
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
ID: 24862485
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
ID: 31603888
I found the root password in an old file. thanks for your help.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
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…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

734 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