Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20130320111516.GA2836@gremlin.ru>
Date: Wed, 20 Mar 2013 15:15:16 +0400
From: gremlin@...mlin.ru
To: owl-dev@...ts.openwall.com
Subject: openssh - increase usability

I really tired creating these files, especially when deploying
20+ servers at once... :-)

--- openssh.spec.old    2011-02-24 20:33:33 +0300
+++ openssh.spec        2013-03-20 15:09:02 +0400
@@ -205,6 +205,9 @@
 touch -r %SOURCE10 %buildroot/etc/ssh/blacklist
 chmod 644 %buildroot/etc/ssh/blacklist
 
+mkdir -pm700 %buildroot/etc/skel/.ssh
+touch %buildroot/etc/skel/.ssh/{authorized_keys,config}
+
 rm %buildroot%_datadir/Ssh.bin
 
 # create ghosts
@@ -275,6 +278,7 @@
 %attr(0644,root,root) %_mandir/man5/ssh_config.5*
 %attr(0644,root,root) %_mandir/man8/ssh-keysign.8*
 %attr(0644,root,root) %config(noreplace) /etc/ssh/ssh_config
+%attr(0600,root,root) %config(noreplace) /etc/skel/.ssh/*
 %attr(-,root,root) %_bindir/slogin
 %attr(-,root,root) %_mandir/man1/slogin.1*


-- 
Alexey V. Vissarionov aka Gremlin from Kremlin <gremlin ПРИ gremlin ТЧК ru>
GPG key ID: 0xEF3B1FA8, keyserver: hkp://subkeys.pgp.net
GPG key fingerprint: 8832 FE9F A791 F796 8AC9 6E4E 909D AC45 EF3B 1FA8

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.