Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 13th June 2012, 12:14 PM
dave539 Offline
Registered User
 
Join Date: Jun 2011
Posts: 30
windows_xp_2003opera
ssh keys stopped working after acl used

Hi,

I have several users setup to automatically log in via ssh using the authorized_keys file. This has worked fine in the past. I added an ACL on the user's home directories for special purposes. Basically this allows 1 additional user to create files in those directories. By itself the ACL works just like it is supposed to.

However, the automated logins using keys no longer works. The .ssh directory still have 700 permissions on it. Any ideas how to fix?
Reply With Quote
  #2  
Old 13th June 2012, 04:15 PM
Geek McBean Offline
Registered User
 
Join Date: Jun 2012
Location: UK
Age: 50
Posts: 11
linuxfirefox
Re: ssh keys stopped working after acl used

Would it not be safer to give the extra user access to a subfolder of the home folders with ACLs? That way you avoid the ACL affecting the permissions on .ssh and other folders that may prevent logons.
Reply With Quote
  #3  
Old 13th June 2012, 05:18 PM
dave539 Offline
Registered User
 
Join Date: Jun 2011
Posts: 30
windows_xp_2003opera
Re: ssh keys stopped working after acl used

I'm going to answer my own question. Fedora has me a bit spoiled. As long as I have had the .ssh directory with 700 permissions everything worked just fine. I added an acl on the parent directory and the authorized_keys file no longer worked. The answer appears to be rather simple. The actual file authorized_keys in the .ssh directory is also supposed to have restricted permissions. In should have 600 in fact.

From what I see, the perms on authorized_keys were not checked before, but since the acl was added, now they are. So one little chmod 600 command and the universe is back in harmony.
Reply With Quote
Reply

Tags
acl, keys, ssh, stopped, working

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fn key + F keys not working fhirnaomh Using Fedora 0 31st May 2012 05:38 AM
Some Fn keys not working justin1971 Hardware & Laptops 6 6th January 2012 02:30 PM
SSH keys stopped working schoentoon Using Fedora 2 17th October 2011 10:06 PM
Fingerprint reader mysteriously stopped working (hardware detected, but not working) THEcreationist Hardware & Laptops 0 16th November 2010 01:58 PM
Fn keys still not working in F11? rgaelzer Hardware & Laptops 25 9th December 2009 12:50 PM


Current GMT-time: 14:20 (Sunday, 19-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat