Solved

Unknown Password?

Posted on 2006-11-03
4
189 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 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
Fine Tune your automatic Updates for Ubuntu / Debian
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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.

730 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