WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Disabling Ctrl+alt+delete in tinycore  (Read 2169 times)

Offline psamtek

  • Newbie
  • *
  • Posts: 3
Disabling Ctrl+alt+delete in tinycore
« on: June 23, 2014, 08:29:04 PM »
Hi Everyone,


I have a question regarding disabling control alt delete. I have commented out the ctrlaltdel line in etc/inittab and I have added this file to the /opt/.filetool.lst as well. After the backup is run the inittab file line is still commented out but, ctrl alt delete still works, so I am very confused. Is there anything that I am missing?


Thanks,
Psamtek

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Disabling Ctrl+alt+delete in tinycore
« Reply #1 on: June 23, 2014, 08:51:31 PM »
That file is read before the restore is run, so you will need to do a "kill -1 1" in bootsync.sh.
« Last Edit: June 23, 2014, 08:57:47 PM by gerald_clark »

Offline Akane

  • Jr. Member
  • **
  • Posts: 71
    • My home server by RaspberryPi
Re: Disabling Ctrl+alt+delete in tinycore
« Reply #2 on: June 24, 2014, 09:28:56 AM »
"/sbin/init -q" is better way to make init reload /etc/inittab.
Sorry for my terrible English.
Country: Japan
Interested in: HPC, low-level programming, embedded system and so on

Offline psamtek

  • Newbie
  • *
  • Posts: 3
Re: Disabling Ctrl+alt+delete in tinycore
« Reply #3 on: June 24, 2014, 10:52:30 AM »
Is there a way to stop it from killing the shell?  With the change to to bootsync.sh it does not reboot the machine from the CLI any more so I am half way there.

I am running TC 4.7.7 I figure it will be somewhere in X11 but I can't seem to find the config file

Thanks again.
Psamtek
« Last Edit: June 24, 2014, 11:16:04 AM by psamtek »

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Disabling Ctrl+alt+delete in tinycore
« Reply #4 on: June 24, 2014, 11:42:02 AM »
Stop what from killing what shell?

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Disabling Ctrl+alt+delete in tinycore
« Reply #5 on: June 24, 2014, 11:48:09 AM »
"init -q" and "kill -1 1" do exactly the same thing.

Offline psamtek

  • Newbie
  • *
  • Posts: 3
Re: Disabling Ctrl+alt+delete in tinycore
« Reply #6 on: June 24, 2014, 11:53:04 AM »
Sorry I mean stopping ctrl alt delete from killing the GUI. Also I am using Xvesa, since xorg doesn't play well with the virtualized hardware.
« Last Edit: June 24, 2014, 01:00:16 PM by psamtek »