The time now is Wed 22 May 2013, 00:00
All times are UTC - 4 |
| Author |
Message |
ashes
Joined: 22 Aug 2011 Posts: 37
|
Posted: Fri 07 Dec 2012, 13:20 Post subject:
how to remove drive tab from pmount? [solved] |
|
hi, I'm searching for a way for puppy to show only removable drives and not the hd, in order to protect it from kids.
http://murga-linux.com/puppy/viewtopic.php?t=82664
I got the idea to modify pmount as such, that the toptab "drive" for the hd becomes unaccessible, for example to delete the tab from the pmount script.
I have been unsuccessful applying this idea, I managed to delete the words of the tab but not the "drive" tab itself.
can anybody help, please
Last edited by ashes on Sat 08 Dec 2012, 12:06; edited 1 time in total
|
|
Back to top
|
|
 |
Barkin

Joined: 12 Aug 2011 Posts: 463
|
Posted: Fri 07 Dec 2012, 15:17 Post subject:
|
|
There was a "kiosk" version of Puppy, which had no drive icons visible ...
| Quote: | Step #3 Remove all Desktop Icons
Edit the file "/root/Choices/ROX-Filer/PuppyPin".
Delete all Lines beginning with <icon.
Right-Click any Drive Icon and select Drive Icon Manager.
Uncheck all boxes in all tabs of the Drive Icon Manager.
Edit the file "/root/.xinitrc".
Comment out lines 18 & 19. They contain clean_desk_icons and pup_event_frontend_d which apparently add the Drives icon to the desktop. | http://www.murga-linux.com/puppy/viewtopic.php?p=493743#493743
https://www.google.com/cse?cx=015995643981050743583%3Aabvzbibgzxo&q=kiosk&sa=Search&cof=FORID%3A0#gsc.tab=0&gsc.q=kiosk
Some computers have a password protection for the harddrive ( via the BIOS), I don't know how puppy would respond to that ..
http://blogs.computerworld.com/hard_disk_passwords_offer_great_security_for_free
|
|
Back to top
|
|
 |
postfs1

Joined: 27 Mar 2010 Posts: 831
|
Posted: Fri 07 Dec 2012, 15:46 Post subject:
Re: how to remove drive tab from pmount Subject description: Script for the Quirky Linux - 1.40 Operating System |
|
| ashes wrote: |
how to remove drive tab from pmount
|
| Quote: |
-=pmount_wo_hdd=-
| Code: |
#!/bin/bash
echo '#!/bin/bash' >/usr/sbin/pmount1 ;
echo '/sbin/probedisk2|grep -v drive' >>/usr/sbin/pmount1 ;
chmod 0755 /usr/sbin/pmount1 ;
sed -i 's/probedisk2/pmount1/g' /usr/sbin/pmount ;
xmessage 'HDD is not visible through PMOUNT now.'
|
| Code: |
chmod 0100 /tmp/pmount_wo_hdd
|
Note: Operating System: Quirky Linux -1.40
|
| Quote: |
-=pmount_w_hdd_again=-
| Code: |
#!/bin/bash
sed -i 's/pmount1/probedisk2/g' /usr/sbin/pmount ;
rm /usr/sbin/pmount1 ;
xmessage 'HDD is visible through PMOUNT now.'
|
| Code: |
chmod 0100 /tmp/pmount_w_hdd_again
|
Note: Operating System: Quirky Linux -1.40
|
_________________
- I don't know why laboratories are named a hospitals.
- The alive personage is like a tea bag with granules of unknown density inside, at that one the packet was made of organic material and was placed in the evaporated liquid or liquid.
|
|
Back to top
|
|
 |
Barkin

Joined: 12 Aug 2011 Posts: 463
|
Posted: Fri 07 Dec 2012, 16:17 Post subject:
|
|
I just tried that on my Dell. The password has to be incorrect 3 times (just hit return 3x) then boot (Puppy) from USB is possible ...
| Dell.com wrote: | | If the correct password is not entered in three attempts, the computer tries to boot from another bootable device if the Boot Sequence option in the System Setup program is set to allow it. If the Boot Sequence option is not set to allow booting from another device, the computer returns to the state it was in when you turned it on—off, suspend mode, or suspend-to-disk mode. | https://support.dell.com/support/edocs/systems/pmojav/password.htm
If the correct password is not input the hard-drive does not appear in pmount ...
| Description |
without correct password hard-drive does not appear, only removable media like USB memory and SD card. |
| Filesize |
13.32 KB |
| Viewed |
190 Time(s) |

|
|
|
Back to top
|
|
 |
ashes
Joined: 22 Aug 2011 Posts: 37
|
Posted: Sat 08 Dec 2012, 12:05 Post subject:
|
|
thank you postfs1. the scripts work well
thank you for your effort Barkin. postfs1's solution is what I was searching for
|
|
Back to top
|
|
 |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|