- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- hide password
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
Forums
Discussions
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
02-27-2006 12:04 AM
02-27-2006 12:04 AM
I must write a script in order to automate the login.
I would want to flat file (ascii) for the password of the systems.
is it possible, by for example Perl functions or commands, to hide the this flat file?
Thanks Massimo
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2006 01:31 AM
02-27-2006 01:31 AM
Re: hide password
Best way would be to setup ssh with keys so you can login without password.
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2006 01:40 AM
02-27-2006 01:40 AM
Re: hide password
You may require to check these threads,
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=139806
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=80836
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2006 01:41 AM
02-27-2006 01:41 AM
Re: hide password
Aside from Geoff's suggestion to use SSH, you should look at the 'netrc(4)' manpages. Perhaps that (less secure) methodology helps you.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2006 02:14 AM
02-27-2006 02:14 AM
Re: hide password
I explain better the issue:
. in a flat file I have the login name and the relative password (called file A)
. in another file (a perl script) I build two arrays with the values specified in file A.
I would encrypt the file A in order to hide the password by a simple cat command.
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2006 02:16 AM
02-27-2006 02:16 AM
Re: hide password
if you just wish to en/decrypt the file have a look at the crypt command. man crypt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2006 02:16 AM
02-27-2006 02:16 AM
Re: hide password
# man crypt
for details.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2006 02:27 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2006 02:48 AM
02-27-2006 02:48 AM