WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

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

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11623
Re: Disable HDD Detection ?
« Reply #15 on: November 01, 2012, 12:58:07 PM »
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, 02:32:01 PM »
hi Dear Rich,
yes ofcourse . i used terminal.

Offline hiro

  • Hero Member
  • *****
  • Posts: 1229
Re: Disable HDD Detection ?
« Reply #17 on: November 01, 2012, 04: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, 04:02:23 PM by hiro »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11623
Re: Disable HDD Detection ?
« Reply #18 on: November 03, 2012, 09: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, 10: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, 12:52:21 PM »
Not exactly documentation but...

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

Offline gerald_clark

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