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 Sun 21 Dec 2014, 23:39
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 Posts_count  
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

Edited_time_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
Sub_title: 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.


Edited_times_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:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0575s ][ Queries: 12 (0.0041s) ][ GZIP on ]