On a production server that is in a common area (although this should not be the case, some situations are inevidable). To avoid an accidental CTRL-ALT-DEL reboot of the machine, do the following to remove the necessary lines from the /etc/inittab file:
# sed -i 's/ca::ctrlaltdel:/#ca::ctrlaltdel:/g' /etc/inittab
Write Comment |
|
Make use of security tools out there to test your server's weaknesses. Nmap
is an excellent port scanning tool to test to see what ports you have open. On
a remote machine, type the command:
# nmap -sTU
Starting nmap 3.70 ( http://www.insecure.org/nmap/ ) at 2006-08-10 13:51 EST
Interesting ports on eric (172.16.0.1):
(The 3131 ports scanned but not shown below are in state: closed)
PORT STATE SERVICE
22/tcp open ssh
113/tcp open auth
Nmap run completed -- 1 IP address (1 host up) scanned in 221.669 seconds
Write Comment |
|
Users who may be acting up or aren't listening can still be controlled.
Using a program called 'skill' (signal kill) which is part of the 'procps'
package.
Halt/Stop User eric: skill -STOP -u eric
Continue User eric: skill -CONT -u eric
Kill and Logout User eric: skill -KILL -u eric
Kill and Logout All Users: skill -KILL -v /dev/pts/*
Write Comment (2 Comments) |
|
|
<< Start < Prev 4 Next > End >>
|
| Results 28 - 30 of 30 |