[Error] "passwd" command could not be executed.

General support questions
Post Reply
tichuot287
Posts: 4
Joined: 2018/03/26 03:16:58

[Error] "passwd" command could not be executed.

Post by tichuot287 » 2018/03/26 03:27:19

Hi everyone,
http://prntscr.com/iwe4ug
have anyone in this forum experienced error above?
This morning i want to change my management account password but it's seem impossible.
Very appreciate your help!
My OS current kernel:
2.6.32-696.20.1.e16.x86_64

tichuot287
Posts: 4
Joined: 2018/03/26 03:16:58

Re: [Error] "passwd" command could not be executed.

Post by tichuot287 » 2018/03/26 06:41:10

I found the solution, yum reinstall passwd
Mods kindly mark this thread closed.
Thank you!

User avatar
TrevorH
Site Admin
Posts: 33215
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: [Error] "passwd" command could not be executed.

Post by TrevorH » 2018/03/26 08:56:06

I do hope there are loud alarm bells ringing where you are? This is extremely suspicious and you should investigate to make sure your machine has not been compromised.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

tichuot287
Posts: 4
Joined: 2018/03/26 03:16:58

Re: [Error] "passwd" command could not be executed.

Post by tichuot287 » 2018/03/27 01:27:17

TrevorH wrote:I do hope there are loud alarm bells ringing where you are? This is extremely suspicious and you should investigate to make sure your machine has not been compromised.
Thank for alerting me, yes, I did re-scan the whole system for malware, virus..., upgrade security level also, but in newbie perspectives.
If you can share some techniques preventing virus, hacking.. I really appreciate.

Whoever
Posts: 1361
Joined: 2013/09/06 03:12:10

Re: [Error] "passwd" command could not be executed.

Post by Whoever » 2018/03/27 02:35:22

Backup and re-install.

You can't trust any of the binaries on the system, so you can't use them to check the system.

tichuot287
Posts: 4
Joined: 2018/03/26 03:16:58

Re: [Error] "passwd" command could not be executed.

Post by tichuot287 » 2018/03/27 04:43:44

Well, Sad to hear that.
I'll schedule with my customer ASAP.
Thank you, guys.

Whoever
Posts: 1361
Joined: 2013/09/06 03:12:10

Re: [Error] "passwd" command could not be executed.

Post by Whoever » 2018/03/27 05:46:31

To keep your system secure:
1. Make sure it is kept up to date with security-related updates.
2. Protect any logins against dictionary attacks with fail2ban or something equivalent. ssh, imap, smtp/sasl, etc..
3. Review the privilege level of any daemons. Do they need to run as root, or can they run as an unprivileged user? For CentOS provided packages, the default configuration should be OK in this respect, but anything that did not come from the CentOS repositories should get extra scrutiny.
4. Review what daemons you have running, especially with exposed ports. Do you need to run them? Do they need to listen on any IP addresses other than 127.0.0.1?
5. Check your mysql configuration. The default CentOS installation leaves the root password blank (or, it did last time I installed mysqld/mysql-server on a new system).
6. Others ....?

Post Reply