WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Disable HDD Detection ?  (Read 4341 times)

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11213
Re: Disable HDD Detection ?
« Reply #15 on: November 01, 2012, 09:58:07 AM »
Hi mbzadegan
OK, but you still did not tell me how you executed the command. Did you use a terminal or some other means?

Offline mbzadegan

  • Newbie
  • *
  • Posts: 33
Re: Disable HDD Detection ?
« Reply #16 on: November 01, 2012, 11:32:01 AM »
hi Dear Rich,
yes ofcourse . i used terminal.

Offline hiro

  • Hero Member
  • *****
  • Posts: 1217
Re: Disable HDD Detection ?
« Reply #17 on: November 01, 2012, 01:00:52 PM »
perhaps you should stop smoking crack and taking acid at the same time?

or simply delete the prn you have on that hard drive...
« Last Edit: November 01, 2012, 01:02:23 PM by hiro »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11213
Re: Disable HDD Detection ?
« Reply #18 on: November 03, 2012, 06:21:57 PM »
Hi mbzadegan
Quote
I want to users could not mount HDD Partitions when they boot tinycore and access to internet ( such as light web kiosk )
The simplest way to achieve this is to deny the user access to tools that allow them to mount a drive. That means
the user should not be given access to any type of terminal programs or other programs that allow you to mount
a drive. You should also make sure your boot loader does not allow a user to enter a boot code, such as  text,
since that would give them access to the console. Based on the information you have given so far, that is the
best advice I can offer you.

Offline genec

  • Full Member
  • ***
  • Posts: 240
Re: Disable HDD Detection ?
« Reply #19 on: November 04, 2012, 07:09:48 AM »
bootcode for this is nofstab

Any idea where this is documented?  It doesn't appear to be on the FAQ page with other bootcodes and there doesn't appear to be any central bootcode page on the wiki.

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: Disable HDD Detection ?
« Reply #20 on: November 04, 2012, 09:52:21 AM »
Not exactly documentation but...

reading the code in /etc/init.d/tc-config explains it's use
« Last Edit: November 04, 2012, 09:55:39 AM by coreplayer2 »

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Disable HDD Detection ?
« Reply #21 on: November 04, 2012, 12:32:36 PM »
That won't stop you from mounting drives at the command line.