- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- file passwords
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
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
тАО02-05-2006 10:41 PM
тАО02-05-2006 10:41 PM
or any regular file. I am having the idea of creating the file then set ACL on the file for a special user and when i want to access it i will su. but how about putting in the tape? would the ACL be removed/
what do you think about all that?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-05-2006 10:42 PM
тАО02-05-2006 10:42 PM
Re: file passwords
yes.
Be careful with the permissions.
You should use vipw to access the actual password file.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-05-2006 11:03 PM
тАО02-05-2006 11:03 PM
Re: file passwords
-yes the tar command removes ACL
-if a file belongs to root user and
has permission 400, every other user has to "su" to read it (you can tar and restore it).
You should consider installing "sudo" anyway.
Pablo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-06-2006 01:30 AM
тАО02-06-2006 01:30 AM
Re: file passwords
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-06-2006 05:51 PM
тАО02-06-2006 05:51 PM
Re: file passwords
for HP-UX you should use gpg.
not pgp..
regards..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-06-2006 08:46 PM
тАО02-06-2006 08:46 PM
Solutionany kind of permission is useless if you give away the files. Only way is crypting in someway and give the password to the recipient.
The suggested way are the best but on hpux you don't have, in my knowledge, them by default.
Instead you can use the simple command crypt:
tar cvf tarfile.tar .
crypt < tarfile.tar > tarfile_crypted.tar
it ask a password and crypt the file
to decrypt
crypt < tarfile_crypted.tar > tarfile.tar
again it ask the password
This is also the crypting algorithm used by ed and vi to crypt/decrypt text files
hope it helps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-07-2006 10:01 PM
тАО02-07-2006 10:01 PM