Bugzilla (bugzilla.redhat.com) will be under maintenance for infrastructure upgrades and will not be available on July 31st between 12:30 AM - 05:30 AM UTC. We appreciate your understanding and patience. You can follow status.redhat.com for details.
Bug 3205 - ftp and telnet do not work as normal user
Summary: ftp and telnet do not work as normal user
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: telnet
Version: 1.0
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Florian La Roche
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 1999-06-02 06:32 UTC by Eugenio Diaz
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 1999-08-21 15:04:28 UTC

Attachments (Terms of Use)

Description Eugenio Diaz 1999-06-02 06:32:46 UTC
After upgrading from RedHat 6.0 to the latest rawhide as of
29/May/1999, telnet and ftp do not work as a normal user.
When doing a telnet or an ftp over any interface as root it
works well, but when doing it as a normal user I get an
"unknown service" error. Example session:

[nito@fulgore:~]$ telnet kitana
telnet: tcp/telnet: unknown service
[nito@fulgore:~]$ ftp kitana
ftp: ftp/tcp: unknown service
[nito@fulgore:~]$ su -
[root@fulgore:~]# telnet kitana
Connected to kitana.softengine.net.
Escape character is '^]'.

Red Hat Linux release 6.0 (Hedwig)
Kernel 2.2.5-15 on an i586
Connection closed by foreign host.
[root@fulgore:~]# ftp kitana
Connected to kitana.softengine.net.
220 kitana.softengine.net FTP server (Version
wu-2.4.2-VR17(1) Mon Apr 19 09:21:53 EDT 1999) ready.
Name (kitana:root): 331 Password required for #~ ~0ho@@$@~.
530 Login incorrect.
Login failed.
ftp> quit
221 Goodbye.

Other network apps like the remote commands (rsh, etc.),
browsers work fine. Also the servers (ftpd, telnetd) work

I suppose that by the symptoms it seems like a permissions
problem, but so far I haven't found what it is.

Comment 1 Jeff Johnson 1999-06-02 09:43:59 UTC
Check /etc/nsswitch.conf to determibe where you get your
services from. I do
	services:   nisplus [NOTFOUND=return] files
Put files at the beginning if necessary. Then check permissions
on /etc/services.

Comment 2 Eugenio Diaz 1999-06-03 03:32:59 UTC
Thanks. The problem was the permissions on the /etc/services file they
were 600 when they were supposed to be 644. Again, this happened after
upgrading from 6.0 to latest rawhide as of May 30. I did not changed
the permissions on the file, neither installed anything other than
rawhide that could have changed them, so I guess one of the packages
in rawhide is setting incorrect permissions on the file.

Comment 3 Jeff Johnson 1999-08-21 15:04:59 UTC
This problem appears to be resolved.

Note You need to log in before you can comment on or make changes to this bug.