• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 509
  • Last Modified:

Linux Suse root password missing

Linux server with root password missing. What steps to add new password?
  • 2
1 Solution
Login as root:

Type: passwd

Enter the new password twice.

Kerem ERSOYPresidentCommented:
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
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.
wiseman301Author Commented:
I found the root password in an old file. thanks for your help.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

A proven path to a career in data science

At Springboard, we know how to get you a job in data science. With Springboard’s Data Science Career Track, you’ll master data science  with a curriculum built by industry experts. You’ll work on real projects, and get 1-on-1 mentorship from a data scientist.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now