LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-26-2015, 03:38 AM   #1
successgande
LQ Newbie
 
Registered: Mar 2015
Posts: 1

Rep: Reputation: Disabled
Linux 5.14 Forget password


I am using Linux 5.14 as a Mikrotik Server and I have forgotten the admin password and i want to login through the command prompt. Someone should please help me.[/SIZE]
 
Old 03-26-2015, 07:33 AM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
There's no such thing as Linux "5.14" ... what distribution are you actually using? You can google around for booting into single user mode which may allow you to reset the root password, but without more details it's hard to give you good advice.
 
Old 03-26-2015, 08:28 AM   #3
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,659

Rep: Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970
Quote:
Originally Posted by successgande View Post
I am using Linux 5.14 as a Mikrotik Server and I have forgotten the admin password and i want to login through the command prompt. Someone should please help me.[/SIZE]
This has been asked (and answered) many, MANY times on here already, and Google also has many answers for this very question; did you try to look this up first??

As btmiller said, there is no such thing as "Linux 5.14", so we don't know what you're using, but the typical way to recover such things is to either boot into single-user/maintenance mode, then type in "passwd root", and put in a new password. You can also boot from CD/DVD into rescue mode, do a manual mount of your hard drive, and manually edit the /etc/shadow file to remove everything between the first two colons ( on the root entry.
 
Old 03-26-2015, 09:16 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,734

Rep: Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920
Welcome to LinuxQuestions.

I agree that you did not post enough information so will make some assumptions.

Is the server running on a PC or on a router / standalone hardware device? I assume that 5.14 is the Microtik OS version currently installed on the OPs hardware. According to the information below the only way to reset the password is to reinstall the OS for X86 devices.

http://www.mikrotik.com/
http://wiki.mikrotik.com/wiki/Manual:Password_reset
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I forget my password.what can i do? xiaotengyi Linux - Newbie 6 02-28-2013 11:19 PM
What should I do if I forget the su`s password??? songxuanss Linux - Security 3 09-25-2007 12:31 AM
forget password king123 Linux - Newbie 4 12-23-2006 10:39 AM
forget password acrors Fedora 1 10-09-2004 12:38 PM
I forget my password barDo LQ Suggestions & Feedback 1 10-26-2001 05:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration