Re: [Puppet Users] ssh_authorized_key errors in RHEL6

2013-04-03 Thread Keith Burdis
The permissions of /tmp should be 1777 so that all users can create files but the sticky bit is set. Setting the sticky bit ensures that files and directories under /tmp can only be renamed or deleted by the user that owns them. - Keith On 3 April 2013 00:41, Kubes wrote: > Thanks Josh > >

Re: [Puppet Users] ssh_authorized_key errors in RHEL6

2013-04-02 Thread Kubes
Thanks Josh chmoding 777 /tmp fixed the issue. mktemp worked fine as root, not as a user, until chmod. Does puppet sudo for sshkeys, etc? puppet is running as root. On Tuesday, April 2, 2013 12:06:52 PM UTC-4, Joshua Hoblitt wrote: > > Hello, > > On 04/02/2013 07:44 AM, Kubes wrote: >

Re: [Puppet Users] ssh_authorized_key errors in RHEL6

2013-04-02 Thread Joshua Hoblitt
Hello, On 04/02/2013 07:44 AM, Kubes wrote: > cannot generate tempfile `/puppet20130331-3128-n19xxm-9' I suspect this is the crux of your issue. Is there a /tmp on that system and is it world writable? Have you declared $TMPDIR? What does the puppet.conf look like on that system? Does `mktemp`

[Puppet Users] ssh_authorized_key errors in RHEL6

2013-04-02 Thread Kubes
I am using puppet to manage ssh keys, it works fine all but one system, which its a true RHEL6 (vs CentOS and Amazon distos) (Puppet 3.1.1). Not sure even sure where to look to troubleshoot the issue. I have disabled selinux for testing too. Any suggestions would be greatly appreciated. Her