Solved

Linux Suse root password missing

Posted on 2009-07-15
4
504 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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
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…
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.:
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

688 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