-1

I have a regular username on a linux machine. I also have the root privilege. Today I found my username was deleted. That is, if I logged in as root and then ran

su myusername

The systems said "myusername" does not exist. I checked file /etc/passwd and "myusername" was not there.

My question is, is there anyway to find out who deleted "myusername"?

Jain Rach
  • 4,069
  • 1
  • 16
  • 25
  • This question appears to be off-topic because either you destroyed your account yourself without realizing it, or something else did. Anyway, programming will not solve your problem. – Frédéric Hamidi Jan 24 '14 at 02:02
  • Try looking here: http://serverfault.com/questions/208347/how-do-i-list-all-users-with-root – user1537366 Jan 24 '14 at 02:03

1 Answers1

0

You might try something like this:

grep "deluser" /home/*/.bash_history /root/.bash_history