Bug 830838

Summary: freenx-server uses authorized_keys2 instead of authorized_keys
Product: [Fedora] Fedora Reporter: Andy Wang <dopey>
Component: freenx-serverAssignee: Axel Thimm <Axel.Thimm>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 17CC: Axel.Thimm, gwync, ville.skytta
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-26 00:46:42 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Andy Wang 2012-06-11 13:51:17 UTC
Description of problem:
freenx-serve ruses authorized_keys2 file:
$ rpm -q freenx-server -l | grep aut
/var/lib/nxserver/home/.ssh/authorized_keys2
/var/lib/nxserver/home/.ssh/authorized_keys2.disabled

however sshd is configured to use authorized_keys by default now

Version-Release number of selected component (if applicable):

freenx-server-0.7.3-25.fc17.x86_64

How reproducible:
always

Steps to Reproduce:
1. try to connect to freenx server
  
Actual results:
authentication failure

Expected results:
success

Additional info:
workaround is pretty simple.  symlink authorized_keys2 (or it's target /etc/nxserver/server.id_dsa.pub.key) to authorized_keys

Comment 1 Ville Skyttä 2012-06-17 10:48:25 UTC
Thanks for the report; I'm going to do a complete migration on package upgrade instead of using a symlink - it doesn't seem likely to me that authorized_keys2 support is coming back, and authorized_keys has been supported since forever.

Comment 2 Fedora Update System 2012-06-17 11:16:37 UTC
freenx-server-0.7.3-27.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/freenx-server-0.7.3-27.fc17

Comment 3 Fedora Update System 2012-06-17 22:27:00 UTC
Package freenx-server-0.7.3-27.fc17:
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing freenx-server-0.7.3-27.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-9595/freenx-server-0.7.3-27.fc17
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2012-06-26 00:46:42 UTC
freenx-server-0.7.3-27.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.