Visit Our UNIX and Linux User Community


ftp questions


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users ftp questions
# 1  
Old 10-27-2005
ftp questions

Hi,

Im trying to setup a anonymous FTP server. I am using Solaris 9 and I am trying to use the ftpconfig command.

According to the man page on this command it will copy and set up all the components needed to operate an anonymous ftp server, including creating the ftp user accounts, etc etc... Check out the man page if you want to read the rest. Smilie

I am able to connect then comes back with this when i enter my email address as password;

331 Guest login ok, send your complete e-mail address as password.
Password:
530 Login incorrect.
Login failed.

tried using anonymous and just hitting enter

Do i still have to edit my etc/passwd and /shadow file after doing the ftpconfig??

Any help is appreciated......
# 2  
Old 10-27-2005
It probably gave the ftp user a shell of /bin/true and that is not in your /etc/shells file. Caution, you may not have an /etc/shells file.. If so, do a "man getusershell" and create a /etc/shells file with all of the shells on that man page. Then add /bin/true to that.
# 3  
Old 10-27-2005
What command options did you give when attempting to do this?
# 4  
Old 10-27-2005
Did a ftpconfig -d /anonymous
# 5  
Old 10-27-2005
It states in the man page that if you use the -d option it:
Create a new or update an existing ftpdir WITHOUT creating or updating the ftp user account.

That's why there is no such account.
# 6  
Old 10-27-2005
Thanks RTM thats what it was. just ran ftpconfig /anonymous and created both passwd and shadow accounts for users.

Previous Thread | Next Thread
Test Your Knowledge in Computers #881
Difficulty: Medium
One many threat vectors to a modern SCADA system is the threat of unauthorized access to the control software,
True or False?

10 More Discussions You Might Find Interesting

1. HP-UX

[Solved] Unable to rename file in ftp server .Net:FTP perl

Hello All, I am trying to connect to ftp server and get the files. Also i need to rename the file in other ftp dir. rename method is not allowing me to rename the file in other dir. When i tried copy command by using net::FTP:FILE then perl says it is not installed. Can some body help me to... (2 Replies)
Discussion started by: krsnadasa
2 Replies

2. AIX

ftp connect in passive mode , ftp settings

how to connect to ftp server in passive mode? ftp server.abc and how can i see ftp settings, doesn't exist some ftpd.conf there is some other file where i check the options and configurations of ftp server? Thanks (3 Replies)
Discussion started by: prpkrk
3 Replies

3. Homework & Coursework Questions

Print questions from a questions folder in a sequential order

1.) I am to write scripts that will be phasetest folder in the home directory. 2.) The folder should have a set-up,phase and display files I have written a small script which i used to check for the existing users and their password. What I need help with: I have a set of questions in a... (19 Replies)
Discussion started by: moraks007
19 Replies

4. Shell Programming and Scripting

Automated FTP script using .netrc to multiple FTP servers

Hi all, I'm using the following script to automated ftp files to 1 ftp servers host=192.168.0.1 /usr/bin/ftp -vi >> $bkplog 2>&1 <<ftp open $host bin cd ${directory} put $files quit ftp and the .netrc file contain machine 192.168.0.1 login abc... (4 Replies)
Discussion started by: varu0612
4 Replies

5. UNIX for Advanced & Expert Users

Using FTP to check whether file is completely FTP... plz find the description below

Hi, We have some clients who will place huge files in to one of the remote server. And the shell script written in our local server to retrieve client files (using FTP) placed on one of the remote server of ours by clients. My question Is there any FTP command/script to check from my local... (1 Reply)
Discussion started by: nmsrao
1 Replies

6. UNIX for Dummies Questions & Answers

ftp server on old home computer - a few questions

Hi! Very new to unix stuff, and this is my first post to the forum. I'm pretty sure I know enough to know I know nothing, so please be patient with me and don't laugh too hard. Ok, I've got an old computer and a laptop - the old computer was bought in the mid 90's it's still running windows... (1 Reply)
Discussion started by: boredbody
1 Replies

7. UNIX for Advanced & Expert Users

MVS->Unix FTP : Using chmod as part of FTP.

We are transferring file from mainframes to unix, & in FTP process itself we would like to set access rights for unix machine. Has anyone used chmod command in association with site command in ftp? How it should be used? Thanks in advance. (1 Reply)
Discussion started by: videsh77
1 Replies

8. Shell Programming and Scripting

FTP script to FTP file to UNIX - Solaris

Hello, A couple of times per week, i receive emails notifications when files are available for processing. Currently i read these eamails with a java program and store the attachement on my C: drive and would now like to generate a PC script to send this file name up to UNIX-Solaris and... (3 Replies)
Discussion started by: bobk544
3 Replies

9. UNIX for Dummies Questions & Answers

FTP questions

Hi, Is there a way you can FTP GET a file and maintain or retain the original creation date of the file at the source when the file is transfered to a destination in your server using the regular FTP command? If the answer is yes, how do you do it? Can you show the Unix shell script? If... (1 Reply)
Discussion started by: XZOR
1 Replies

10. UNIX for Dummies Questions & Answers

questions on ftp shell scripting

did a search but was not allowed to use 'ftp' because its too short of a word. for some reason, i can't seem to remember anything about ftp shell scripts - would someone please refresh my memory on the syntax and maybe give a short example? thanks for the time. (5 Replies)
Discussion started by: psyjoniz
5 Replies

Featured Tech Videos