2016
Tracking of logins and logouts on Linux/Unix distros
In the .login file add the commands:
2010
Linux Tip for the Day: Monitoring root in the password file
(via)One of the popularly known method of breaking into a Unix host is by inserting a uid value 0 in the /etc/passwd file which could be done in many ways including backdoors for later accesses .
Linux Tip for the Day: Kill X
(via)Quick way to close your X login session (for SysV)
for PID in `ps -u$USER | grep âfv[wm]â | awk â{print $1}â`; do kill -9 $PID; done
Or throw it into a shell script:
1
(3 marks)