The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

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 07:23 AM
Few questions gina Shell Programming and Scripting 2 05-28-2007 05:47 AM
A few questions... halluc1nati0n UNIX for Dummies Questions & Answers 2 03-28-2007 10:29 AM
3 questions in 1 alikun UNIX for Dummies Questions & Answers 2 03-27-2007 02:59 AM
questions tamemi UNIX for Dummies Questions & Answers 1 08-17-2003 09:28 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 10-27-2005
lewisoco lewisoco is offline
Registered User
  
 

Join Date: Feb 2005
Posts: 14
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......
  #2 (permalink)  
Old 10-27-2005
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,111
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 (permalink)  
Old 10-27-2005
RTM's Avatar
RTM RTM is offline Forum Advisor  
Hog Hunter
  
 

Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
What command options did you give when attempting to do this?
  #4 (permalink)  
Old 10-27-2005
lewisoco lewisoco is offline
Registered User
  
 

Join Date: Feb 2005
Posts: 14
Did a ftpconfig -d /anonymous
  #5 (permalink)  
Old 10-27-2005
RTM's Avatar
RTM RTM is offline Forum Advisor  
Hog Hunter
  
 

Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
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 (permalink)  
Old 10-27-2005
lewisoco lewisoco is offline
Registered User
  
 

Join Date: Feb 2005
Posts: 14
Thanks RTM thats what it was. just ran ftpconfig /anonymous and created both passwd and shadow accounts for users.
Sponsored Links
Closed Thread

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 02:22 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