The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
help adding a new user/password bones SUN Solaris 5 02-01-2008 05:02 AM
RID - password - user salvor_hardin UNIX for Advanced & Expert Users 1 12-09-2007 11:13 PM
Add User and Password alan thui UNIX for Dummies Questions & Answers 1 11-08-2001 10:14 AM
How to add new user and password through script ehsan Shell Programming and Scripting 1 11-06-2001 05:18 PM
user Id vs Password Cerberus UNIX for Dummies Questions & Answers 2 09-26-2001 05:03 AM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 02-06-2008
joeyg's Avatar
joeyg joeyg is offline Forum Staff  
modérateur
  
 

Join Date: Dec 2007
Location: Home of 17-time world champion Boston Celtics
Posts: 1,311
ftp and user/password

I know the typical way to script automate an ftp session is to pass all of the commands to ftp, with something 'like' the following:
echo USER $user
echo PASS $pass

My question concerns other methods or tricks people have used so that the username and ESPECIALLY the password are not embedded in the script. Some ideas are:
(a) reading password from a separate file; theink $cat...
(b) getting selected data from a file for password; think $cut...

So, what are some other tricks for having a $pass variable I can send for login purposes, but still maintain a greater level of security for the password (then having it embedded in the script)?

Thanks for the ideas. The actual code is not required, more just the methodologies for accomplishing this.
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 08:38 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0