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, 01:38
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
How to hide directories and files from users?
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 2 [17 Posts]   Goto page: 1, 2 Next
Author Message
Max Money AWA

Joined: 04 Aug 2013
Posts: 16

PostPosted: Mon 05 Aug 2013, 15:00    Post subject:  How to hide directories and files from users?  

I have an old laptop, an Acer Aspire 3002 with XP, that was bogging at the load screen of Windows much less running anything else. I loaded Puppy Precise 5.6.1 to get it working again. It runs great now. However, there are all sorts of things I am unfamiliar with that I'd like to hide.

My main question is this ... what directories and files can I hide? I don't understand command line stuff or anything like that. I will not be the only one using this laptop, so I would rather not have areas open for people to get into and screw things up, me included. I would really like to be able to hide as much as possible in order to get things to look similar to XP in the directories.

I will gladly answer any questions. Thank you.
Back to top
View user's profile Send private message 
Karl Godt


Joined: 20 Jun 2010
Posts: 3982
Location: Kiel,Germany

PostPosted: Mon 05 Aug 2013, 15:26    Post subject:  

google/translate wrote:
More clearly are the license terms of small Business One ERP solution. Here are the prices depending Professional User license are estimated at approximately € 2,500.00, with application of discounts available. As a maintenance and update fee on average 18% of list price demanded by the partners. (As of March 2007)

http://de.wikipedia.org/wiki/SAP
Wink

What you want is probably fatdog that should have some kind of user login .

Otherwise it would be rm -rf / in the terminal to hide everything for free by removal of the whole installation .

_________________
«Give me GUI or Death» -- I give you [[Xx]term[inal]] [[Cc]on[s][ole]] .
Macpup user since 2010 on full installations.
People who want problems with Puppy boot frugal Razz
Back to top
View user's profile Send private message Visit poster's website 
Wognath

Joined: 19 Apr 2009
Posts: 193

PostPosted: Mon 05 Aug 2013, 15:41    Post subject:  

Hello, Max Money and welcome.
Quote:
I would rather not have areas open for people to get into
Puppy is not really intended to have unpriveleged users, but in precise, there is an option to log in as Fido. I have not done this, but someone else can tell you how, or see here: http://bkhome.org/blog/?viewDetailed=02240
Quote:
what directories and files can I hide?

Modifying puppy menus is a bit involved. See http://puppylinux.org/wikka/JWMMenuCategory and for example http://www.murga-linux.com/puppy/viewtopic.php?t=63009
You can customize the desktop easily. Get rid of desktop items by right clicking and then clicking remove item. You can add items to the desktop by going to /usr/share/applications and then dragging any of those icons to the desktop.
Finally, You can find out anything at all about puppy by using the puppy google search http://wellminded.com/puppy/pupsearch.html.
Hope this helps, one beginner to another...
Back to top
View user's profile Send private message 
Galbi


Joined: 21 Sep 2011
Posts: 518
Location: Bs.As. - Argentina.

PostPosted: Mon 05 Aug 2013, 16:10    Post subject:  

Since in Puppy you're always the user 'root' (like Administrator in XP) you can seriously damage your system (fortunatelly only the software, not the hardware) if you do something fool (Administrator can easily do: format C: and good bye) so:
- If you're not sure what you are doing, don't do it.

Perhaps a multi-user distro may fit better your needs, but it's more complicated to deal with permissions an so on.
Back to top
View user's profile Send private message 
Max Money AWA

Joined: 04 Aug 2013
Posts: 16

PostPosted: Tue 06 Aug 2013, 22:08    Post subject:  

So, I'm going to have to learn everything about linux first to get it the way I want it to look, correct? There doesn't seem to be an easy way of doing anything in linux.

Sorry, but I'm feeling very overwhelmed going over these forums and looking at the links posted above. I'm feeling completely lost and starting to second-guess loading Precise. I had no idea I was going to have to almost become a programmer to do anything with it.
Back to top
View user's profile Send private message 
saintless


Joined: 11 Jun 2011
Posts: 2727
Location: Bulgaria

PostPosted: Tue 06 Aug 2013, 23:36    Post subject:  

Max Money AWA wrote:
So, I'm going to have to learn everything about linux first to get it the way I want it to look, correct? There doesn't seem to be an easy way of doing anything in linux.

Hiding directory or file is much easier than in windows.
Just rename the file or directory with . in the beginning of the name.
For example rename directory movies to .movies

_________________
Farewell, Nooby, you will be missed...
Back to top
View user's profile Send private message MSN Messenger 
8-bit


Joined: 03 Apr 2007
Posts: 3398
Location: Oregon

PostPosted: Wed 07 Aug 2013, 00:32    Post subject:  

Also, If you did a frugal install of Puppy, I would suggest that you make backups of your pupsave file. It contains all your personal settings, data, programs you have added, etc.
With a backup of your pupsave file, if you had to reinstall Puppy you would have the backup to get your PC back to a working condition with all your stuff intact.

Backup of the pupsave is not automatic though; so you would have to do a backup on a regular basis if you added or changed things.

And I would do that before attempting to hide directories as I do not know if an application that needs data in one of them would work with the directory being hidden.
Back to top
View user's profile Send private message 
amigo

Joined: 02 Apr 2007
Posts: 2293

PostPosted: Wed 07 Aug 2013, 04:21    Post subject:  

Ahh, it is possible to 'hide' directories, by changing their names. BUT! This will break your whole system as everything is based on those directory paths and directly references them.

Come on guys, don't tell a guy in his first post here to 'rm -rf /'. OP, that little command will remove every file on your system, so don't use that command.
Back to top
View user's profile Send private message 
Karl Godt


Joined: 20 Jun 2010
Posts: 3982
Location: Kiel,Germany

PostPosted: Wed 07 Aug 2013, 05:35    Post subject:  

Galbi wrote:
Since in Puppy you're always the user 'root' (like Administrator in XP) you can seriously damage your system (fortunatelly only the software, not the hardware) if you do something fool (Administrator can easily do: format C: and good bye) so:
- If you're not sure what you are doing, don't do it.

Perhaps a multi-user distro may fit better your needs, but it's more complicated to deal with permissions an so on.


I cannot confirm that Linux does not damage your hardware !

1) Lost a whole Laptop with a privatix Linux full to USB that did not shutdown properly .
2) Lost one older HDD booting with the rw kernel parameter instead of ro .
Back to top
View user's profile Send private message Visit poster's website 
L18L

Joined: 19 Jun 2010
Posts: 2619
Location: www.eussenheim.de/

PostPosted: Wed 07 Aug 2013, 11:01    Post subject:  

Read http://puppylinux.com/technical/root.htm please.
Back to top
View user's profile Send private message 
dancytron

Joined: 18 Jul 2012
Posts: 298

PostPosted: Wed 07 Aug 2013, 13:30    Post subject:  

OP.

Okay, first you need to get used to the idea of just ignoring all the directories/folders except /root, mnt/home and usr/share/applications.

Browse to usr/share/applications. All these files are what create the menu items. You can do two things here.

First, you can drag them out on to the desktop and they will be like windows desktop shortcuts. Do this for all the programs you actually use so you don't have to mess with the menu. Right click for menu to clean up titles. Second, you can move the .desktop files someplace else (drag and drop), rename the with different extensions (right click) or delete them. Then they will no longer show up in the menu (you might have to restart x, reboot or run fixmenus to refresh).

After you get it set up, you can copy the save file and give one to each of your kids along with a backup. You can turn the passwords back on for each one, but I don't know how to do that off the top of my head.
Back to top
View user's profile Send private message 
linuxbear

Joined: 18 Apr 2009
Posts: 621
Location: Las Vegas, Nevada, USA

PostPosted: Wed 07 Aug 2013, 14:46    Post subject:  

Personally, I do not hide directories. Experienced nixers can find them. You could do it by encrypting folders. For myself, I individually encrypt and password protect files involving household expenses and contacts. Most of everything else, I do not worry about
Back to top
View user's profile Send private message 
Semme

Joined: 07 Aug 2011
Posts: 4137
Location: World_Hub

PostPosted: Wed 07 Aug 2013, 15:10    Post subject:  

For the time being- PASS.
Last edited by Semme on Tue 13 Aug 2013, 06:29; edited 1 time in total
Back to top
View user's profile Send private message 
greengeek

Joined: 20 Jul 2010
Posts: 2750
Location: New Zealand

PostPosted: Wed 07 Aug 2013, 18:35    Post subject:  

Max Money AWA wrote:
There doesn't seem to be an easy way of doing anything in linux.
Hi Max, welcome to puppy. The problem with Linux is that there is in fact an easy way to do stuff. Way too easy. As Karl was suggesting by posting his "rm command" comment it is very easy to remove every directory on your system with a simple command.

The whole purpose of Puppy is to give total control to the operator - in the expectation that the operator WANTS to take responsibility for every aspect of their system.

Unfortunately that makes it unsuitable for family use if the family can't be trusted to leave things alone.

There are various threads on this forum which discuss how to run Puppy in "kiosk" mode, which means that the users only have access to part of the system - they can't get at the guts of it and do damage.

Unfortunately setting a puppy up this way takes a bit of fiddling. As far as I am aware no-one has yet offered an .iso of a "Kiosk Mode" puppy that you could just download and use, but maybe i have missed it along the way... Hopefully someone may point to a suitable thread.

EDIT :Here are two threads that might be of interest:

http://www.murga-linux.com/puppy/viewtopic.php?t=75519

http://ns2.murga-projects.com/puppy/viewtopic.php?t=81701&sid=52ec97b7a9eee68e4d283cd051e565c5
.
Back to top
View user's profile Send private message 
Karl Godt


Joined: 20 Jun 2010
Posts: 3982
Location: Kiel,Germany

PostPosted: Thu 08 Aug 2013, 05:25    Post subject:  

I think , installing Puppy should be fun ! .
If things break , then it's time to teach others in the family how this all works .
I have 3 partitions on each HD that I use as main installation - booting one day the partition on sda2 and the next day the partition on sda6 for example .
I don't share files much . I download emails for example to each partition using the current installed mail-client .

And don't forget : rm -rf / would also remove everything that is mounted in /mnt or /media for example -
thus nuking much more than the current installation if there is anything mounted Very Happy
Some users want that Windows feature that all partitions are mounted at startup - I don't .

_________________
«Give me GUI or Death» -- I give you [[Xx]term[inal]] [[Cc]on[s][ole]] .
Macpup user since 2010 on full installations.
People who want problems with Puppy boot frugal Razz
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 2 [17 Posts]   Goto page: 1, 2 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Beginners Help ( Start Here)
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.1133s ][ Queries: 12 (0.0270s) ][ GZIP on ]