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 02-26-2017, 04:47 AM   #1
pgeorge822@yahoo.com
LQ Newbie
 
Registered: Feb 2017
Posts: 7

Rep: Reputation: Disabled
Data Recovery


Hi
My custom software made in php and installed on centos Linux 7(Core)
Kernal 3.10.0-327.e17.x86_64 on an x86_64

No I want some changes in the s/w but the vendor is not available.
They have set some pwd in the server.
When I boot the pc , it asks UI & PWD in command prompt mode.
How can I copy all the data ?
How can I enter to my PC?

Please help
Thanks
P George
 
Old 02-26-2017, 06:30 AM   #2
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,714
Blog Entries: 23

Rep: Reputation: 406Reputation: 406Reputation: 406Reputation: 406Reputation: 406
Smile On option...

Hi,
Welcome to the forum
And...with a bang of a question too
Well, if a PC "plays ball" with me, I push the OS aside and enter via a live CD/DVD.
Fedora comes to mind as a good one. But Knoppix may even be better. Depends on your abilities.
Get the image, burn it and boot the PC with it. The OS will be the the one ON the CD/DVD, not the one on the hard drive.
You may need to mount the hard drive.
Fedora MAY have done that for you. Knoppix requires a bit of console hacking:
to see what drives there are and what the current OS assigned them as:
Code:
fdisk -l
to mount the drive you need (possibly the /home partition/folder)
Code:
mount /dev/sdX /mnt
then, endter that folder, use MC to do that:
Quote:
mc
link a USB stick or an external drive and repeat the steps above...again, Fedora MAY have done that for you...
Use MC or any available file manager to copy the code/data to the stick/drive
and as a last one: write down the password, next time (just teasing you... )
Luck
Melissa
 
3 members found this post helpful.
Old 02-26-2017, 07:18 AM   #3
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 19.2 MATE, MX-19, Manjaro
Posts: 2,771
Blog Entries: 14

Rep: Reputation: 1018Reputation: 1018Reputation: 1018Reputation: 1018Reputation: 1018Reputation: 1018Reputation: 1018Reputation: 1018
P George,

Welcome to LQ.

I strongly advise you NOT to advertise your email address on a public forum, unless you like receiving spam.

Contact one of the LQ Administrators or sign in again with a new username.
 
1 members found this post helpful.
Old 02-26-2017, 11:37 AM   #4
pgeorge822@yahoo.com
LQ Newbie
 
Registered: Feb 2017
Posts: 7

Original Poster
Rep: Reputation: Disabled
Smile

Hi Ms.Melissa

Thank you for your advice , I will try as you mentioned , meanwhile can you please me that how to recover the user name and password ?

Quote:
Originally Posted by ButterflyMelissa View Post
Hi,
Welcome to the forum
And...with a bang of a question too
Well, if a PC "plays ball" with me, I push the OS aside and enter via a live CD/DVD.
Fedora comes to mind as a good one. But Knoppix may even be better. Depends on your abilities.
Get the image, burn it and boot the PC with it. The OS will be the the one ON the CD/DVD, not the one on the hard drive.
You may need to mount the hard drive.
Fedora MAY have done that for you. Knoppix requires a bit of console hacking:
to see what drives there are and what the current OS assigned them as:
Code:
fdisk -l
to mount the drive you need (possibly the /home partition/folder)
Code:
mount /dev/sdX /mnt
then, endter that folder, use MC to do that:

link a USB stick or an external drive and repeat the steps above...again, Fedora MAY have done that for you...
Use MC or any available file manager to copy the code/data to the stick/drive
and as a last one: write down the password, next time (just teasing you... )
Luck
Melissa
 
Old 02-26-2017, 11:57 AM   #5
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 22,337

Rep: Reputation: 6037Reputation: 6037Reputation: 6037Reputation: 6037Reputation: 6037Reputation: 6037Reputation: 6037Reputation: 6037Reputation: 6037Reputation: 6037Reputation: 6037
Quote:
Originally Posted by pgeorge822@yahoo.com View Post
Hi
My custom software made in php and installed on centos Linux 7(Core) Kernal 3.10.0-327.e17.x86_64 on an x86_64

No I want some changes in the s/w but the vendor is not available. They have set some pwd in the server. When I boot the pc , it asks UI & PWD in command prompt mode. How can I copy all the data ? How can I enter to my PC?
Read the "Question Guidelines" link in my posting signature. All you've told us is that you're using CentOS 7 64 bit. You have told us nothing about what this "custom software" is, what kind of hardware it's running on, etc. Further, you're implying that this is vendor supported...are you actually SUPPOSED to be able to get into this box???

I find it hard to believe that you're paying a vendor but they're 'not available'....can you tell us why?? If this is vendor supported, and you're paying the vendor, then contact them. If this is your hardware and OS...why don't you know the password? Seems very odd.
 
1 members found this post helpful.
Old 02-26-2017, 12:26 PM   #6
pgeorge822@yahoo.com
LQ Newbie
 
Registered: Feb 2017
Posts: 7

Original Poster
Rep: Reputation: Disabled
Dear Mr.

I have requested help for one issue Im facing ,If you are not willing or dont know. Please dont comment. Im here not to argue

Thank your for understanding .

Quote:
Originally Posted by TB0ne View Post
Read the "Question Guidelines" link in my posting signature. All you've told us is that you're using CentOS 7 64 bit. You have told us nothing about what this "custom software" is, what kind of hardware it's running on, etc. Further, you're implying that this is vendor supported...are you actually SUPPOSED to be able to get into this box???

I find it hard to believe that you're paying a vendor but they're 'not available'....can you tell us why?? If this is vendor supported, and you're paying the vendor, then contact them. If this is your hardware and OS...why don't you know the password? Seems very odd.
 
Old 02-26-2017, 01:12 PM   #7
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 22,337

Rep: Reputation: 6037Reputation: 6037Reputation: 6037Reputation: 6037Reputation: 6037Reputation: 6037Reputation: 6037Reputation: 6037Reputation: 6037Reputation: 6037Reputation: 6037
Quote:
Originally Posted by pgeorge822@yahoo.com View Post
Dear Mr.
I have requested help for one issue Im facing ,If you are not willing or dont know. Please dont comment. Im here not to argue Thank your for understanding .
Again, read the "Question Guidelines". I know MANY ways to get around such things, but I'm certainly not going to be helping anyone with a bad attitude, nor will I help someone who won't even answer questions.

And if you're not going to answer questions when asked, then don't post a question in the first place. We aren't here to help you 'get around' a vendor limitation/security, which is what this sounds like. If that's not the case, then why are you hesitant to answer questions?? Should be very simple to tell us what the vendor is, what the software is, and what kind of hardware...or even if you OWN this hardware vs. having it all vendor supported, and you just 'want a copy' of their code.

We don't know and can't guess. If you don't want to answer, then don't expect much help in doing something possibly illegal from us.

Last edited by TB0ne; 02-27-2017 at 09:31 AM.
 
Old 02-26-2017, 01:17 PM   #8
pgeorge822@yahoo.com
LQ Newbie
 
Registered: Feb 2017
Posts: 7

Original Poster
Rep: Reputation: Disabled
Hi,
I dont know who is this TB0ne.
Still I think its better to explain that what I experienced.
I have developed one software in php for my office activities through one freelancer.He finished the work and supplied it to me with a server Proliant ML10 Gen9 ( Without Monitor,Moouse & Key board). Where is installed the software.

We can access the application currently in our local machines.

He has given some Ui& PWd for the Proliant ML10 Gen9 but didnt disclosed.

Now we need to do some major modifications in the software and the developed person is not available (It seems not in the country).

As I met other developers/companies , they are ready to do the modifications, provided by the access to the server.

So Im requesting to help me in this matter to retrieve the Ui & PWD of the PC
 
1 members found this post helpful.
Old 02-26-2017, 01:34 PM   #9
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 22,337

Rep: Reputation: 6037Reputation: 6037Reputation: 6037Reputation: 6037Reputation: 6037Reputation: 6037Reputation: 6037Reputation: 6037Reputation: 6037Reputation: 6037Reputation: 6037
Quote:
Originally Posted by pgeorge822@yahoo.com View Post
Hi,
I dont know who is this TB0ne. Still I think its better to explain that what I experienced.
Which you should have done from your first post; again you need to read the LQ Rules and Question Guidelines.
Quote:
I have developed one software in php for my office activities through one freelancer. He finished the work and supplied it to me with a server Proliant ML10 Gen9 ( Without Monitor,Moouse & Key board). Where is installed the software.
YOU did not develop any software...it was developed by a freelancer FOR YOU.
Quote:
We can access the application currently in our local machines. He has given some Ui& PWd for the Proliant ML10 Gen9 but didnt disclosed.

Now we need to do some major modifications in the software and the developed person is not available (It seems not in the country). As I met other developers/companies , they are ready to do the modifications, provided by the access to the server. So Im requesting to help me in this matter to retrieve the Ui & PWD of the PC
Your post makes no sense. You say "He has given some UI&PWD"...then say "didnt disclosed"....which is it?? Either they gave you login information or not. And ButterflyMelissa explicitly told you how to recover a password in her first reply; did you not understand her instructions? Are you trying to log in as root or as some other user? How are you trying to log in? Via SSH, or did you hook up a monitor/keyboard/mouse to the server itself?

There are many how-to guides on how to do this..including one from CentOS themselves:
https://wiki.centos.org/TipsAndTricks/ResetRootPassword

...which walk you through it step-by-step. That will let you reset the root password, and any other user ID passwords as well. Reboot the system when you're done, and log in.
 
Old 02-26-2017, 01:37 PM   #10
pgeorge822@yahoo.com
LQ Newbie
 
Registered: Feb 2017
Posts: 7

Original Poster
Rep: Reputation: Disabled
Hi,
I dont know who is this TB0ne ( As Im very new in such forum ).
Still I think its better to explain that what I experienced.
I have developed one software in php for my office activities through one freelancer.He finished the work and supplied it to me with a server Proliant ML10 Gen9 ( Without Monitor,Moouse & Key board). Where is installed the software.

We can access the application currently in our local machines.

He has given some Ui& PWd for the Proliant ML10 Gen9 but didnt disclosed.

Now we need to do some major modifications in the software and the developed person is not available (It seems not in the country).

As I met other developers/companies , they are ready to do the modifications, provided by the access to the server.

So Im requesting to help me in this matter to retrieve the Ui & PWD of the PC

Pleas note the below things;

I got my office management software developed by a free lancer.
There is no specific name for the software.
No Extra hardware using with this software.

Also why dont you understand my situation ? Im totally stuck. Tell that how can I make the changes ?? I tried all available methods to contact the developer ( mail /skype/mobile) but no response.

Hence I met another team, Now they said me that they will try to help me to develop but they want access to the Server machine.



Quote:
Originally Posted by TB0ne View Post
Again, read the "Question Guidelines". I know MANY ways to get around such things, but I'm certainly not going to be helping anyone with a snotty attitude, nor will I help someone who won't even answer questions.

And if you're not going to answer questions when asked, then don't post a question in the first place. We aren't here to help you 'get around' a vendor limitation/security, which is what this sounds like. If that's not the case, then why are you hesitant to answer questions?? Should be very simple to tell us what the vendor is, what the software is, and what kind of hardware...or even if you OWN this hardware vs. having it all vendor supported, and you just 'want a copy' of their code.

We don't know and can't guess. If you don't want to answer, then don't expect much help in doing something possibly illegal from us.
 
1 members found this post helpful.
Old 02-26-2017, 01:44 PM   #11
pgeorge822@yahoo.com
LQ Newbie
 
Registered: Feb 2017
Posts: 7

Original Poster
Rep: Reputation: Disabled
First of all sorry to say about my English.

Please note the below;

Im not developed - One free lancer developed for me


"He has given some UI&PWD".. I meant that he has set some UI & PWD but not disclosed to me or my staffs .

I saw the advice from ButterflyMelissa , Still I have one doubt .

Through that steps I can reset the PWD ok....But hw about the User Name ?how will i find the user name

(I can see Only Dos model window to enter Login details ), when I connect the monitor


Quote:
Originally Posted by TB0ne View Post
Which you should have done from your first post; again you need to read the LQ Rules and Question Guidelines.

YOU did not develop any software...it was developed by a freelancer FOR YOU.

Your post makes no sense. You say "He has given some UI&PWD"...then say "didnt disclosed"....which is it?? Either they gave you login information or not. And ButterflyMelissa explicitly told you how to recover a password in her first reply; did you not understand her instructions? Are you trying to log in as root or as some other user? How are you trying to log in? Via SSH, or did you hook up a monitor/keyboard/mouse to the server itself?

There are many how-to guides on how to do this..including one from CentOS themselves:
https://wiki.centos.org/TipsAndTricks/ResetRootPassword

...which walk you through it step-by-step. That will let you reset the root password, and any other user ID passwords as well. Reboot the system when you're done, and log in.
 
1 members found this post helpful.
Old 02-26-2017, 01:53 PM   #12
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 22,337

Rep: Reputation: 6037Reputation: 6037Reputation: 6037Reputation: 6037Reputation: 6037Reputation: 6037Reputation: 6037Reputation: 6037Reputation: 6037Reputation: 6037Reputation: 6037
Quote:
Originally Posted by pgeorge822@yahoo.com View Post
Hi,
I dont know who is this TB0ne ( As Im very new in such forum ).
What's the problem??? This is a public forum..anyone can reply. That's who I am...why keep asking/saying "I don't know who is this TB0ne"??? Is there a point?
Quote:
Still I think its better to explain that what I experienced. I have developed one software in php for my office activities through one freelancer.He finished the work and supplied it to me with a server Proliant ML10 Gen9 ( Without Monitor,Moouse & Key board). Where is installed the software.

We can access the application currently in our local machines. He has given some Ui& PWd for the Proliant ML10 Gen9 but didnt disclosed. Now we need to do some major modifications in the software and the developed person is not available (It seems not in the country). As I met other developers/companies , they are ready to do the modifications, provided by the access to the server. So Im requesting to help me in this matter to retrieve the Ui & PWD of the PC

Pleas note the below things;

I got my office management software developed by a free lancer.
There is no specific name for the software.
No Extra hardware using with this software.

Also why dont you understand my situation ? Im totally stuck. Tell that how can I make the changes ?? I tried all available methods to contact the developer ( mail /skype/mobile) but no response. Hence I met another team, Now they said me that they will try to help me to develop but they want access to the Server machine.
We don't understand, because you didn't bother to explain things at first, didn't want to when asked, and followed it up by posting something that made no sense. You've said all the above once already....why repeat it?
Quote:
Originally Posted by pgeorge822@yahoo.com
Im not developed - One free lancer developed for me

"He has given some UI&PWD".. I meant that he has set some UI & PWD but not disclosed to me or my staffs .I saw the advice from ButterflyMelissa , Still I have one doubt. Through that steps I can reset the PWD ok....But hw about the User Name ?how will i find the user name (I can see Only Dos model window to enter Login details ), when I connect the monitor
DOS?? What do you mean "Dos model"?? Do you mean BIOS??? Unless you can CLEARLY TELL US what you're doing/trying, there is no way we can help, period. And it's amazing to me that you paid this freelancer, without getting/verifying all the information/passwords/documentation from them.

Again:
  • Connect monitor/mouse/keyboard
  • Reboot server
  • Follow the instructions in the link I sent you before, to reset the root password.
That's it...simple. Once the root password is reset, you can either reboot the server and log in as root with your new password at the console, or reset another user ID's password. At that root prompt, type in "cat /etc/passwd", and look at the first field...those are user ID's. See if there's one you recognize...it'll typically be at the bottom.
 
Old 02-26-2017, 02:07 PM   #13
WFV
Member
 
Registered: Apr 2012
Location: CA
Distribution: Arch
Posts: 181

Rep: Reputation: Disabled
Quote:
Originally Posted by pgeorge822@yahoo.com View Post
Hi,I have requested help for one issue Im facing ,If you are not willing or dont know. Please dont comment. Im here not to argue...I dont know who is this TB0ne
If you don't want to read the Forum Rules and are somehow blind to the fact the TB0ne has been with LQ since 2003, and insist on having your way, LQ should bar you from the Forums until you take the time to read and understand proper Forum respect and etiquacy. http://www.linuxquestions.org/questi...mber-intro-24/

Last edited by WFV; 02-26-2017 at 02:09 PM.
 
Old 02-27-2017, 12:55 AM   #14
pgeorge822@yahoo.com
LQ Newbie
 
Registered: Feb 2017
Posts: 7

Original Poster
Rep: Reputation: Disabled
Sorry for the mistakes; As I explained earlier , Im totally trapped. The new developer accepted that he will try the best to do the further works for me. But he want the files includes the db.
I have reset the root pwd as in the article and logged in . Still I dont know how to copy ( take ) all files includes the db.This is the first time Im using LinuX.

I can see only command prompt view only, Is there any option to change to graphical view ?

LQ, Can you please advice me that how can I proceed in this situation ?
 
Old 02-27-2017, 01:40 AM   #15
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=14, FreeBSD_12{.0|.1}
Posts: 5,352
Blog Entries: 11

Rep: Reputation: 3319Reputation: 3319Reputation: 3319Reputation: 3319Reputation: 3319Reputation: 3319Reputation: 3319Reputation: 3319Reputation: 3319Reputation: 3319Reputation: 3319
If you have successfully logged in as root, then you are in the position to do everything necessary.

But be aware that you are also now in position to do great harm to your system, so be very careful about following advice from any source without some understanding and certainty of what each action will do! Refrain from just trying things!

You will actually be able to do what is needed much more easily from the command prompt (login shell) than from a GUI. As this is a headless server (no display and no mouse) it may not even have a graphical interface installed.

To get the files you need, you must first know where they are. You said it was a PHP application so it is almost certainly installed under the web server. There are common locations for that, but they may also be easily installed to other locations. I'll ask a CentOS user to step forward and help with finding the location of the web server root.

Getting a snapshot of the database is very easy, but you will need to know the database user's login and password and the database name. Your root user and password may, or may not be sufficient.

To safely test the database access (assuming MySQL database), type this from your login shell:

Code:
mysql -p -e 'show databases' <ENTER>
It will ask for your password, just enter your login password.

It will either show a list of your databases or report an access denied message. Let us know what you get.

Also, is this server accessible to the internet or only on your private network?
 
4 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
LXer: 5 Best Linux Distributions To Recover Dead Computers Data (Linux Data Recovery) LXer Syndicated Linux News 1 08-06-2016 12:10 AM
LXer: 5 Best Data Recovery Tools For Linux To Recover Data Or Deleted Partitions LXer Syndicated Linux News 0 04-18-2015 03:32 PM
Linux rescue disk for data recovery of data on windows laptop with corrupt os Jonjo-k Linux - Newbie 10 01-04-2014 07:00 PM
[SOLVED] Combining anti-virus + data recovery + image recovery? littlebigman Linux - Software 8 08-12-2010 03:39 AM
LXer: Linux Data Recovery on Windows - Is possible through Disk Doctors Linux Recovery Software LXer Syndicated Linux News 0 10-22-2006 01:21 PM

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

All times are GMT -5. The time now is 03:29 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration