Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20111109080600.GC22827@gremlin.ru>
Date: Wed, 9 Nov 2011 12:06:00 +0400
From: gremlin@...mlin.ru
To: owl-dev@...ts.openwall.com
Subject: /etc/skel/.ssh/authorized_keys

diff -ruN openssh.orig/openssh.spec openssh/openssh.spec
--- openssh.orig/openssh.spec   2011-04-12 12:52:35 +0400
+++ openssh/openssh.spec        2011-11-09 12:02:28 +0400
@@ -210,6 +210,10 @@
 # create ghosts
 touch %buildroot/etc/ssh/ssh_host_{,rsa_,dsa_}key{,.pub}
 
+%post clients
+mkdir -p -m 700 /etc/skel/.ssh
+touch /etc/skel/.ssh/authorized_keys
+
 %pre server
 grep -q ^sshd: /etc/group || groupadd -g 74 sshd
 grep -q ^sshd: /etc/passwd || useradd -g sshd -u 74 -d / -s /bin/false -M sshd


-- 
Alexey V. Vissarionov aka Gremlin from Kremlin
<gremlin ПРИ gremlin ТЧК ru>
GPG key ID: 0xBA52B364, keyserver: hkp://subkeys.pgp.net
GPG key fingerprint: 920D 3BCE 930A CF01 A591 541C 6C6D 286E BA52 B364

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.