LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   security (https://www.linuxquestions.org/questions/linux-security-4/security-539066/)

tariq07 03-20-2007 12:55 PM

security
 
hi all
can i check that who was entered in the servr and what he did? where i can find .history file?

MS3FGX 03-20-2007 01:05 PM

There should be a .bash_history file in each user's /home directory (well, assuming you are using Bash anyway) which will contain a log of the last 100 or so commands run.

To see who is currently logged into the machine, you can simply use the command "who". To see users logged in previously, use "last".


All times are GMT -5. The time now is 10:07 PM.