Red Hat Bugzilla – Bug 4288
ftp gives "ftp: ftp/tcp: unknown service" for regular user
Last modified: 2008-05-01 11:37:51 EDT
/usr/bin/ftp has to installed with suid bit set:
chmod 4755 /usr/bin/ftp
Same error occures for telnet and fwhois.
My suggested solution is no good. Means that ftp:ed files are owned
by root. Thus, there must be something in the tcp that prevents ftp,
telnet and fwhois to be used by a regular user. But what?
Problem solved: /etc/services comes with rw------- on the 6.0 CD.
Should be rw-r--r--.
No, it comes with the correct 644 permissions (just checked here.)
Perhaps something else changed them on your system. Did you install
the samba upgrade with a non-default root umask?
No, don't put a setuid on the program, check the permissions
on /etc/services. I believe that a recent update (samba?)
changes the permissions to 600 on /etc/servcies. Can you confirm
1) you recently installed the samba update.
2) the permissions are 600 on /etc/services
so I can get this problem fixed? Thanks ...
This problem appears to be resolved.