FS#37217 - [inetutils] rshd stopped working after upgrade

Attached to Project: Arch Linux
Opened by Barry Fishman (barryfm) - Monday, 07 October 2013, 11:41 GMT
Last edited by Eric Belanger (Snowman) - Saturday, 14 December 2013, 23:03 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Eric Belanger (Snowman)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

After upgrading from inetutils 1.9.1-6 to 1.9.1.341-1, I could no longer rsh into the system.

I got a "Password incorrect." message.

Going back to 1.9.1-6 fixed the problem.

Looking at the
Additional info:
* package version(s)

1.9.1.341-1

* config and/or log files etc.

journalctl reported:

I have a .rhost file properly protected (0600) which worked before. I tried creating a hosts.equiv and putting rsh in /etc/securetty which is required on other linux platforms.

There is no /etc/pam.d/rsh file.

Oct 07 06:47:50 ecube xinetd[426]: START: shell pid=28531 from=192.168.0.2
Oct 07 06:47:50 ecube rshd[28531]: pam_unix(rsh:auth): authentication failure; logname= uid=0 euid=0 tty=rsh ruser=root rhost=ecube.site user=root
Oct 07 06:47:52 ecube rshd[28531]: root@ecube.site as root, PAM: Authentication failure
This task depends upon

Closed by  Eric Belanger (Snowman)
Saturday, 14 December 2013, 23:03 GMT
Reason for closing:  Fixed
Comment by Eric Belanger (Snowman) - Sunday, 08 December 2013, 00:23 GMT
Try inetutils-1.9.1.341-2 in testing. I've added a /etc/pam.d/rsh file. You could also try the new native systemd unit instead of the xinetd setup.
Comment by Barry Fishman (barryfm) - Sunday, 08 December 2013, 21:04 GMT
The inetutils-1.9.1.341-2 package works fine (after adding rshd to /etc/securetty).

I'm not sure what you mean by using the "new native systemd unit", rather than the xinetd.service unit I use.
Comment by Eric Belanger (Snowman) - Sunday, 08 December 2013, 22:08 GMT
I'm glad that it's fixed.

I meant that inetutils now have a rsh.socket unit that you can use (no need for xinetd if you use that unit). BTW, similar socket units were also added for the other servers in inetutils. If you want to continue using xinetd, then it's fine too.

Loading...