As usual, I'm coming to office and entering the server room and login to the portal to check in for my attendance system. But all of the sudden, the server is restart!!!! Oh my god! I was accidentally press the Ctrl+Alt+Delete!!! What I have done? Than, I tried to fix the problem. The solution that I can do is I need to disable the Ctrl+Alt+Delete key. I'm afraid that if anyone that accidentally press that key than everything will be horror. To disable that key is quiet simple actually. Below are the steps that I have done.
1. Backup the original etc/inittab file and named it as a inittab.ori
[root@localhost ~]# cp /etc/inittab /root/Desktop/backup/inittab.ori
2. Edit the original file in /etc/inittab
[root@localhost ~]#vi /etc/inittab
3. Find the the # Trap CTRL-ALT-DELETE line
You can see that there is a file that exactly look like this
ca::ctrlaltdel:/sbin/shutdown -t3 -r now
4. Now edit that line such below
ca:12345:ctrlaltdel:/bin/echo "CTRL-ALT-DEL is disabled"
5. Save the file that you have edit and quit from VI
6. In order to activate the changes, you need to run this command
[root@localhost ~]# init q
7. After that to make sure it is effective or not, try to press the Ctrl+Alt+Del key. Your screen should appear "CTRL-ALT-DEL is disabled"
8. Done :-)
Ulasan Ringkas Distro Oshirix 2009 SPE Dari Komuniti Mambang
-
Komuniti sumber terbuka Malaysia merupakan antara komuniti yang aktif di
dunia dengan mengadakan pelbagai acara tahunan dan sebagainya. Selain
daripada aca...
21 hours ago







1 comments:
instructions for viagra use women's viagra is there a female viagra viagra price buy viagra on line viagra and cannabis how does viagra work viagra generique viagra over the counter legal viagra viagra cheap viagra uk cheap purchase buy cialis v s viagra viagra substitute
Post a Comment