Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

ftp client doesn't work as regular user

Posted on 2003-11-29
2
Medium Priority
?
419 Views
Last Modified: 2013-12-27
System: Solaris 8 with latest Recommended Patches and Maintenance Update #7

When I login as my regular user account and try to ftp to another host, it doesn't work:

   foo@bar /home/foo 1 % ftp host.domain.com
   ftp: ftp/tcp: unknown service
   foo@bar /home.foo 2 % which ftp
   /usr/bin/ftp

If I use "su" and become super-user, I can use the ftp command with no problem

The ftp program is /usr/bin/ftp in both cases (verified by "which ftp")

Why do I get this "unknown service" error message? It occurs even if I try to just enter interactive mode (i.e. do not supply a hostname)
0
Comment
Question by:PsiCop
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 34

Author Comment

by:PsiCop
ID: 9844684
Well, I just answered my own Question, so I'm going to post the solution here, then ask a Moderator to PAQ it.

I found the Answer in SunSolve article ID14440. The problem was that /etc/inet/services was set to mode 600. It SHOULD have been set to 644, as recommended by Sun and a host of other sources. My only guess is that I got a little overzealous locking down the system and changed the mode after editing it to harden the OS.

Once the mode was changed, ftp worked fine.
0
 
LVL 2

Accepted Solution

by:
Lunchy earned 0 total points
ID: 9845771
PAQed, with points refunded (125)

Lunchy
Friendly Neighbourhood Community Support Admin
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
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.:
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Suggested Courses

609 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