Solved

Unknown Password?

Posted on 2006-11-03
4
187 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
4 Comments
 
LVL 10

Accepted Solution

by:
ssvl earned 250 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 250 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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Suggested Solutions

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…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
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.

786 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