LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-30-2014, 12:26 PM   #1
zrdc28
Member
 
Registered: Dec 2007
Location: Alabama USA
Distribution: Slackware current
Posts: 309

Rep: Reputation: 55
Lost root password, did not forget it


I always use the same root password on all my computers & have for many years, I tried to log into one of them that I had logged into many times before. The "could not authenicate"came up. After trying for many times I chrooted into it with no problem and changed the password to what it was supposed to be. What I would like to know is what happened, I have never had this problem and sure would like to know what happened.

This computer is used by a friend of ours and and she can only surf and use gwenview for her photos etc.
 
Old 06-30-2014, 08:26 PM   #2
orasis
Member
 
Registered: Mar 2008
Distribution: Slackware, Free-BSD
Posts: 53

Rep: Reputation: 34
Quote:
Originally Posted by zrdc28 View Post
I always use the same root password on all my computers & have for many years, I tried to log into one of them that I had logged into many times before. The "could not authenicate"came up. After trying for many times I chrooted into it with no problem and changed the password to what it was supposed to be. What I would like to know is what happened, I have never had this problem and sure would like to know what happened.

This computer is used by a friend of ours and and she can only surf and use gwenview for her photos etc.
Well someone broke your password, maybe SSH brute force. You should check your logs.
 
1 members found this post helpful.
Old 06-30-2014, 09:14 PM   #3
TommyC7
Member
 
Registered: Mar 2012
Distribution: Slackware, Alma, OpenBSD, FreeBSD
Posts: 541

Rep: Reputation: Disabled
It may also be possible that if you upgraded your "etc" package that you overwrote some files (e.g. /etc/shadow).
 
1 members found this post helpful.
Old 06-30-2014, 09:54 PM   #4
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Slackware
Posts: 7,413

Rep: Reputation: 3831Reputation: 3831Reputation: 3831Reputation: 3831Reputation: 3831Reputation: 3831Reputation: 3831Reputation: 3831Reputation: 3831Reputation: 3831Reputation: 3831
Quote:
Originally Posted by zrdc28 View Post
After trying for many times I chrooted into it with no problem and changed the password to what it was supposed to be.
It might be the case that the PC has been penetrated. You changed the root password back to what it was supposed to be? Wouldn't the hacker know your password if he changed it(if there is a hacker)? It might be an idea to take the PC off-line and investigate the cause of this incident.
 
1 members found this post helpful.
Old 07-01-2014, 12:58 AM   #5
zrdc28
Member
 
Registered: Dec 2007
Location: Alabama USA
Distribution: Slackware current
Posts: 309

Original Poster
Rep: Reputation: 55
It never crossed my mind that it could have been hacked, and I don't know what logs to look at, of course the /var/log will be where I start. I will go ahead and change the password just in case!
 
Old 07-01-2014, 05:03 AM   #6
arsivci0
Member
 
Registered: Nov 2013
Location: Antalya
Distribution: Slackware64 current
Posts: 119

Rep: Reputation: 23
Same thing happened to me with an old computer. I always thought I had used the same password but somewhere along space-time, roughly 2 years ago, I added an extra character to my default password. I occasionally forget it.
 
Old 07-01-2014, 10:17 PM   #7
pettijohne
LQ Newbie
 
Registered: Mar 2014
Distribution: Slackware 14.1, LinuxMint 16
Posts: 16

Rep: Reputation: Disabled
I've never hacked anyones account before, but I would think if I did I would create a new account for myself with root privs so as not to raise suspicions. What I do on my system is I have a cron job that runs a script similiar to your typical doinst.sh that copies /etc/passwd, etc, compares it to the previous days copy and if there are any changes it emails me.
 
  


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 root password. how to login in root account with new password in red hat. balajiraja Linux - Desktop 3 08-22-2012 01:41 AM
Free BSD likes to forget root password jus71n742 *BSD 11 09-11-2009 09:41 AM
lost root password lightningcount Linux - Newbie 9 08-19-2004 06:25 PM
forget mandrake 9.1 root password ppc feetyouwell Linux - Software 4 01-25-2004 04:14 PM
forget root password 9.1 RC2 desmond Mandriva 0 09-04-2003 10:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:24 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