Solved

Unknown Password?

Posted on 2006-11-03
4
184 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
Comment Utility

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
Comment Utility
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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
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…
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…

728 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now