LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
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: 18,990

Rep: Reputation: 4316Reputation: 4316Reputation: 4316Reputation: 4316Reputation: 4316Reputation: 4316Reputation: 4316Reputation: 4316Reputation: 4316Reputation: 4316Reputation: 4316
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: 15,932

Rep: Reputation: 1825Reputation: 1825Reputation: 1825Reputation: 1825Reputation: 1825Reputation: 1825Reputation: 1825Reputation: 1825Reputation: 1825Reputation: 1825Reputation: 1825
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 07:45 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration