LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 02-27-2019, 12:05 AM   #1
kunalsmore
LQ Newbie
 
Registered: Feb 2019
Posts: 1

Rep: Reputation: Disabled
Question root password automatically changes


Hi,

I am using centos 6.5. if i try to access or login via static ip ,root password changes automatically after some time.And i am not able to login. kindly help me to solve this issue.how can my root password changes automatically?

Last edited by kunalsmore; 02-27-2019 at 12:07 AM.
 
Old 02-27-2019, 12:27 AM   #2
Turbocapitalist
LQ Guru
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 7,308
Blog Entries: 3

Rep: Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721
First, you should not have remote root access enabled at all. It would be very good to turn that off completely. It is asking for trouble to have it on.

Second, how are you connecting to the remote machine? If the answer is FTP or Telnet instead of SFTP or SSH then pull the network cable out, you are overdue for wiping the hard drive and doing a clean installation.

Please say more about how you are connecting to the computer and how the problem is manifesting. What relevant entries are in /var/log/secure and the other logs?
 
1 members found this post helpful.
Old 02-27-2019, 02:15 AM   #3
grail
LQ Guru
 
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 10,007

Rep: Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191
I am curious as to how you know the root password is changing and then how are you resolving the issue to know what the new password is?

Also, everything Turbocapitalist said
 
1 members found this post helpful.
Old 02-27-2019, 06:52 AM   #4
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,882
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
Quote:
Originally Posted by kunalsmore View Post
how can my root password changes automatically?
The simple answer is that it should not be able to change automatically, and likely this is not happening.

Is this a shared access machine? Perhaps the root password changes because you're not supposed to be using it and an admin for that machine is detecting that you are logging in. Not trying to be accusatory here, I come from a very long time past where we had Vax and HP Ux mainframes and people really were logging in to the system with various credentials, and sometimes the ones they were not supposed to be using. But hey, ... if we could get the administrative logins, all being engineers, we "knew" what we were doing, we'd prefer to use those. In a large environment like that, invariably, a friend of a friend would eventually get the privileged passwords, slowly everyone would learn them and they'd start using them more and more; and then the real admin would detect it and change the password. Thus resetting the circle of life. For a few days.

Also many machines block root access unless you are at a physical, and local, console for that machine. This does not seem to be the case here, however in my opinion, it should be.
 
  


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
[SOLVED] "Give root password for maintenance or press CTRL+D to continue" problem enter root password ag33k Slackware - ARM 9 01-12-2017 04:23 PM
LXer: Technology Changes Us, Changes Society, and Changes Governments LXer Syndicated Linux News 0 10-10-2016 02:00 PM
liveCD installer asks for root password, but means the liveCD's root password newbiesforever VectorLinux 4 04-23-2013 01:16 PM
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
How could normal user obtain root password or change root password ckamheng Debian 18 02-18-2009 10:28 PM

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

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