Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 19 Dec 2014, 04:51
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
how to remove drive tab from pmount? [solved]
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [5 Posts]  
Author Message
ashes

Joined: 22 Aug 2011
Posts: 46

PostPosted: 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
View user's profile Send private message 
Barkin


Joined: 12 Aug 2011
Posts: 751

PostPosted: 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
View user's profile Send private message 
postfs1


Joined: 27 Mar 2010
Posts: 831

PostPosted: 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/tmounp ;
echo '/sbin/probedisk2|grep -v drive' >>/usr/sbin/tmounp ;
chmod 0755 /usr/sbin/tmounp ;
#/usr/sbin/pmount = (c) Copyright Nov 2007 Barry Kauler www.puppylinux.com
xmessage 'OK'


Note: Operating System: Quirky Linux -1.40


Quote:

-=pmount_w_hdd_again=-
Code:

#!/bin/bash
#/usr/sbin/pmount = (c) Copyright Nov 2007 Barry Kauler www.puppylinux.com
rm /usr/sbin/tmounp ;
xmessage 'OK'


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.


Last edited by postfs1 on Fri 14 Mar 2014, 06:11; edited 3 times in total
Back to top
View user's profile Send private message 
Barkin


Joined: 12 Aug 2011
Posts: 751

PostPosted: Fri 07 Dec 2012, 16:17    Post subject:  

Barkin wrote:
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

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 ...
without HDD password Hard-drive does not appear on pmount.gif
 Description   without correct password hard-drive does not appear, only removable media like USB memory and SD card.
 Filesize   13.32 KB
 Viewed   414 Time(s)

without HDD password Hard-drive does not appear on pmount.gif

Back to top
View user's profile Send private message 
ashes

Joined: 22 Aug 2011
Posts: 46

PostPosted: 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
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [5 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

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
[ Time: 0.0568s ][ Queries: 12 (0.0040s) ][ GZIP on ]