문제

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"?

도움이 되었습니까?

해결책

You might try something like this:

grep "deluser" /home/*/.bash_history /root/.bash_history
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top