Re: My system was hacked

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ong Ying Ying wrote:
Someone hacked my system. All my user account cannot log-in except root.

My passwd had !! in its second field for one user. Another user had ! in the second field. What does this mean?

How can this happen? What caused this?

Don't panic.

It's a convention that passwords that start with a '!' are 'invalid' - no password that you enter can map to a hash that
starts with '!'

Here are notes I made a long long time ago:

==============
- When the password is an asterisk, nothing can match it.

- An exclamation mark means a password (or account) is locked via
  usermod(8). Also, a single exclamation marks means that a account is not
  allowed for logins. So a double exclamation makes sure that if it was
unlocked, it would still have an invalid passwd. Note that repeated application of usermod -U will remove all the exclamation marks but repeated application
  of usermod -L will still only yield a single exclamation mark.

- Note that 'locking out' may be best achieved using a no-login-shell

- Also, new users created with 'useradd' have the '!!' password
==============

What else makes you think the system was hacked?

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux