The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
NIM Questions tb0ne AIX 5 08-16-2007 04:23 AM
Few questions gina Shell Programming and Scripting 2 05-28-2007 02:47 AM
A few questions... halluc1nati0n UNIX for Dummies Questions & Answers 2 03-28-2007 07:29 AM
3 questions in 1 alikun UNIX for Dummies Questions & Answers 2 03-26-2007 11:59 PM
questions tamemi UNIX for Dummies Questions & Answers 1 08-17-2003 06:28 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-27-2005
Registered User
 

Join Date: Feb 2005
Posts: 14
Stumble this Post!
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.

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......
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 10-27-2005
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,448
Stumble this Post!
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.
Reply With Quote
  #3 (permalink)  
Old 10-27-2005
RTM's Avatar
RTM RTM is offline
Hog Hunter
 
Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
Stumble this Post!
What command options did you give when attempting to do this?
Reply With Quote
  #4 (permalink)  
Old 10-27-2005
Registered User
 

Join Date: Feb 2005
Posts: 14
Stumble this Post!
Did a ftpconfig -d /anonymous
Reply With Quote
  #5 (permalink)  
Old 10-27-2005
RTM's Avatar
RTM RTM is offline
Hog Hunter
 
Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
Stumble this Post!
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.
Reply With Quote
  #6 (permalink)  
Old 10-27-2005
Registered User
 

Join Date: Feb 2005
Posts: 14
Stumble this Post!
Thanks RTM thats what it was. just ran ftpconfig /anonymous and created both passwd and shadow accounts for users.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 11:04 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0