Solved

USER CAN'T USE FTP (SOLARIS)

Posted on 2011-09-30
8
1,382 Views
Last Modified: 2013-12-27
user service account can't access ftp


etc/passwd
old_stats:x:105:1::/app/facts/sm/ftp/br80/old_stats:/bin/sh

Open in new window


how can i troubleshoot it???
0
Comment
Question by:cismoney
  • 5
  • 3
8 Comments
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 36890631
What is the error message?

Do other users have access via FTP? If they don't the FTP service might not be started!

Does the home directory /app/facts/sm/ftp/br80/old_stats exist?

Is it accessible by old_stats?

Is old_stats perhaps present in /etc/ftpd/ftpusers? This file is meant to block users, not to allow access!

Do you use the standard Solaris FTP server or some third-party product?

wmp



0
 

Author Comment

by:cismoney
ID: 36890658
the user is not present in /etc/ftpd/ftpusers.

the home directory  /app/facts/sm/ftp/br80/old_stats exist

Other users can have acces via ftp

i use standard solaris ftp

here is the error i get


# ftp old_stats
old_stats: unknown host or invalid literal address

Open in new window

0
 

Author Comment

by:cismoney
ID: 36890706
service ftp is online, i don't understand whats goin on

# svcs -a |grep ftp
online         Apr_21   svc:/network/ftp:default

Open in new window

0
 

Author Comment

by:cismoney
ID: 36890770
Sorry I just found out other users can't login expect root. all the users get the same error

]
unknown host or invalid literal address
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 68

Accepted Solution

by:
woolmilkporc earned 500 total points
ID: 36890783
old_stats is a userid, not a host. Use

ftp hostname

and wait for the prompt to log in as old_stats,
0
 

Author Comment

by:cismoney
ID: 36890789
here is the output

# ftp hostname
hostname: unknown host or invalid literal address

Open in new window

0
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 36890799
With 'hostname' I meant the name of your FTP server, not literally 'hostname'!
0
 

Author Comment

by:cismoney
ID: 36891979
sorry  . the  user just forgot his password lol. Thanx for your help
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now