Linux: how to know who deleted my user account [closed] - linux

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
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

Related

What is the default username and password for Arch Linux [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 years ago.
Improve this question
I have installed the Arch Linux and loaded it using VM then tried to login with root/root and it says login incorrect, could you let me know the default Arch linux username and password
Actually, there is no default user for the os. You can try root without any password and it most probably will prompt you to create a user.
It might be that your VM created a user for you. Search the docs for the VM.

Does sudoers file required to restart to take changes effect [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 years ago.
Improve this question
Does sudoers file required to restart to take changes effect. If yes, then how we can restart? without resarting the system.
If your question is : "do I need to restart my machine if I add someone in the sudoers file ?" the answer is : No, you don't need to restart, the newly user added in the sudoers will be able to use sudo as soon as you save the file.

How to execute sudo as user with root password [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
How can I configure Linux to see the prompt for the root password if Sam try to execute the following command: $ sudo mkdir /opt/test?
If Sam is part of sudoers, the terminal ask for the user password not for the root password.
In /etc/sudoers, add this line:
Defaults rootpw
Make sure you use visudo for editing this file. For more information, you can check the link

Not login to system due to changing permission [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I am using Linux system but by mistake I fired a chmod command as follows:-
chmod -R 777 /
after that I restart my System. But when I try to login, the system is login but after 2-3 seconds again to login window. Please help me to solve this problem.
Just get your important files and configs backup them. format the partition which the OS installed, then reinstall again, sorry there is no easy way to correct these permissions.

How can i jail a user in linux? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
That's is the question.. how can i jail a user in a certain folder so that he can create files like images but can no go up using the command cd .. or see other folders outside?
Thanks.
Read about chroot http://linux.die.net/man/1/chroot
You can even create a minimal environment for the user
Alternatively just use file permissions so that the user is only able to see what the user should be able to.

Resources