Sponsored Content
Top Forums UNIX for Advanced & Expert Users setting username and password for ftp Post 302099081 by Corona688 on Friday 8th of December 2006 10:09:05 AM
Old 12-08-2006
It depends a lot on what FTP server you're using; but in my experience, FTP servers use the sysem login info instead of reinventing the wheel with their own login database.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

username password in script

Can we write a script to telnet to a unix server from unix with the username and password hardcoded in the script?? something like ssh a@b -p password ??? (5 Replies)
Discussion started by: roshanjain2
5 Replies

2. Solaris

I want to hard code username and password for an FTP connection

Hi all i want to do FTP via running a shell script and i want to hard code username and password for that particular server.. by writing it in a file can u help me in this regard.. Thank u Naree (2 Replies)
Discussion started by: naree
2 Replies

3. UNIX for Dummies Questions & Answers

FTP Download username and password

I am trying to download from ftp server (rsync and postfix). But every time I connect to the ftp server, it prompts for USER and PASS but I don't know which username and and password to use. And I am using command based UNIX OS. (2 Replies)
Discussion started by: kumarrana
2 Replies

4. Shell Programming and Scripting

in ftp how to avoid username/password

hi all i am very new to unix. we had the below scenior test.bat file which contains ftp -s:logfiles.scr servername logfiles.scr contains username password cd path get file bye We had n number of batch(.bat files). which is having the same kind of scr file pointing... (10 Replies)
Discussion started by: nh1
10 Replies

5. UNIX for Dummies Questions & Answers

How can i hide username/password

hi all, i run sqlplus command on unix(HP-UX) like "sqlplus username/password@serverA @deneme.sql" but when someone run "ps -ef | grep sqlplus", it can see my username and password :( How can i hide username and password. thanx. (1 Reply)
Discussion started by: temhem
1 Replies

6. Shell Programming and Scripting

FTP command line username and password passing

Dear All, I am new to unix and I am trying to build a shell script which will connect to a different server by passing username and password from a file or command line but not manually... In short I dont want to connect to a diff server via ftp interactively. Any suggestion...looking... (8 Replies)
Discussion started by: Pratik4891
8 Replies

7. UNIX for Dummies Questions & Answers

Lost and Confused.. .How to connect.. Setting username and Pw

I am a new UNIX user. Meaning I have never used it before. So I have downloaded putty to use. Then on the configuration it says what? It says host name or IP address. Which hostname do I use. Its just me at home only using it. Can I use my website has a connection. If so how. Then where do I... (2 Replies)
Discussion started by: xmtxm
2 Replies

8. Shell Programming and Scripting

Username and password

Hi I am new to using unix and am struggling with a script i am writing. What i am trying to do is get a user to enter a username, check the original file i created with username and pin to see if their is a corresponding entry. Next ask the user to enter the pin and see if this matches... (5 Replies)
Discussion started by: somersetdan
5 Replies

9. UNIX for Dummies Questions & Answers

How do you reset username/password

Picked up a 3b2 running System V. Works fine, but it requires a username and password. Is the username "root" or "sysadm"? How do I find out and how to I reset it or bypass it? Thanks. (2 Replies)
Discussion started by: TanRuNomad
2 Replies

10. Shell Programming and Scripting

How can i su automaticaly in same server with different username and same password?

Hi I am new to shell scripting, Can you please help me in writing a script that can switch user in same server with different user name and same password. I want to perform some functional task in a particular user and need to switch user and perform same activity in another user and so on ... ... (4 Replies)
Discussion started by: Dew
4 Replies
MOUNT_FTP(8)						    BSD System Manager's Manual 					      MOUNT_FTP(8)

NAME
mount_ftp -- mount a FTP filesystem SYNOPSIS
mount_ftp [-i] [-o options] ftp://host[:port][/path] node DESCRIPTION
The mount_ftp command mounts a FTP-enabled server directory at ftp://host[:port][/path] at the mount point indicated by node. If the -i option is not used, all the required information to establish a login to the remote server must be available in the ftp URL, including username & password if needed. The user ID for all files and folders is set to the user's real user ID. The group ID for all files and directories is set to unknown, and the permissions default to read and execute for user, group and other. The options are: -i Interactive mode, you are prompted for the username and password if you did not supply one in the url. -o Options passed to mount(2) are specified with the -o option followed by a comma separated string of options. See the mount(8) man page for possible options and their meanings. The rdonly option will be set even if it was not specified because mount_ftp does not allow files to be opened with write access on servers. ftp://host[:port][/path] The FTP-enabled server directory to mount as a volume. If port is not specified, then port 21 is used. If path is not specified, then the path "/" is used. node Path to mount point. EXAMPLES
The following example illustrates how to mount the FTP-enabled server directory ftp.apple.com/ at the mount point /Volumes/mntpnt/ mount_ftp ftp://ftp.apple.com/ /Volumes/mntpnt/ SEE ALSO
mount(2), unmount(2), mount(8) HISTORY
The mount_ftp command first appeared Mac OS X Version 10.2. RETURN VALUES
0 mount_ftp successfully mounted the server directory. [ENOENT] The server directory could not be mounted by mount_ftp because the node path is invalid. [ENODEV] The server directory could not be mounted by mount_ftp because it is not FTP-enabled or because it does not exist, or because node does not have proper access. [ECANCELED] The server directory could not be mounted by mount_ftp because the user did not provide proper authentication credentials. BUGS
mount_ftp only supports mounting read-only. Mac OS X June 6, 2003 Mac OS X
All times are GMT -4. The time now is 11:59 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy