?
Solved

ftp client doesn't work as regular user

Posted on 2003-11-29
2
Medium Priority
?
418 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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

770 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