?
Solved

Unknown Password?

Posted on 2006-11-03
4
Medium Priority
?
192 Views
Last Modified: 2013-12-16
It seems the person that did have my job set a password on the Mandrake 10 server and does not have it wrote down and it does not match any of the other password that he gave me does anyone know how i can reset this possibly through the console if I reboot into Fail safe?
0
Comment
Question by:lpounds
[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
4 Comments
 
LVL 10

Accepted Solution

by:
ssvl earned 1000 total points
ID: 17865987

IS you are root??

then if not restarted your system or not yet logouted please check all terminials and tty s if any one of them is already loged in a root

ir yes then give passwd root
or just passwd

<passwd [username]

other wise


you have reboot your system and in grub edit (e)

select second line at the end of secondline put (-s)

type enter

trype boot

its boot into single usermod and gives you a prompt

trpe

 passwd root

set new password

reboot your system



0
 
LVL 24

Assisted Solution

by:slyong
slyong earned 1000 total points
ID: 17878054
Hi,

Normally I would:

1) Boot into single user
2) mount -o remount,rw /
3) cp /etc/shadow /etc/shadow.backup
4) vi /etc/shadow
5) change the line that is something like "root:$1$EYBTVZHP$QtjkCG768giXzPvW4HqB5/:12832:0:99999:7:::" to "root::12832:0:99999:7:::"
0

Featured Post

Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

Question has a verified solution.

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

The purpose of this article is to demonstrate how we can use conditional statements using Python.
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses
Course of the Month15 days, 15 hours left to enroll

741 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