- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: hiding files
Categories
Company
Local Language
Forums
Discussions
- Integrity Servers
- Server Clustering
- HPE NonStop Compute
- HPE Apollo Systems
- High Performance Computing
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Knowledge Base
Forums
Discussions
- Cloud Mentoring and Education
- Software - General
- HPE OneView
- HPE Ezmeral Software platform
- HPE OpsRamp Software
Knowledge Base
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2005 08:01 PM
12-01-2005 08:01 PM
hiding files
I am new Unix user, I want to secure some important files by hiding. Could anyone please tell me how to hide the files and different methods.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2005 08:31 PM
12-01-2005 08:31 PM
Re: hiding files
"hidden file" on Unix can be those file with a dot "." as first character as name.
But if u want to secure the content of a file u can use, in editing and creation phase, option "-x" in vi.
So a password will be prompted .
hth
regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2005 09:11 PM
12-01-2005 09:11 PM
Re: hiding files
RGDS
Mauro
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2005 09:22 PM
12-01-2005 09:22 PM
Re: hiding files
Mark Syder (like the drink but spelt different)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2005 04:09 AM
12-02-2005 04:09 AM
Re: hiding files
In unix hidden files are starts with a period (.) , Any file or directory started with . is a hidden and normal ls -l command will not show this.
To see the hidden file you have to use
# ls -la
Though , if u hide its not protected as it can be visiable by ls -la.
Hence you need to workout with permission . Put the files in a directory and set the permission of that directory . You may also use acl for that. Or write a script to monitor.
Cheers,
Raj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2005 06:16 AM
12-02-2005 06:16 AM
Re: hiding files
You can also use gpg to encrypt your files.
Edit your profile and set the umask to 077:
umask 077
Change the permissions to your files using:
chmod 600 filename
Change the permissions to your directories using:
chmod 700 directory
This permissions will set permissions to files and directories to allow access only to you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2005 11:19 PM
12-02-2005 11:19 PM
Re: hiding files
You have posted two threads for almost the problem. We request you to assign points and close any one of the threads.
Second Thread
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=980056
Regards,
Sunil