[PATCH 0/4] Openssh service patches

2017-02-20 Thread Clément Lassieur
#x27; patch? (I didn't test it.) Actually, I'm not sure it's worth adding, since the Match directive (which is often used along the Subsystem directive) is unsupported by the Openssh service. Comments are welcome! Clément Clément Lassieur (4): services: openssh: Enable PAM. services: o

Re: [PATCH 0/2] Openssh service patches

2017-02-18 Thread Clément Lassieur
Julien Lepiller writes: > I haven't applied it either, but it looks good, thank you :) > > Could you also document the new fields and remove the documentation for > the old one? Sure, here it is. Thanks!

Re: [PATCH 0/2] Openssh service patches

2017-02-17 Thread Julien Lepiller
On Fri, 17 Feb 2017 17:18:33 + ng0 wrote: > On 17-02-17 17:37:06, Clément Lassieur wrote: > > The first patch adds PAM to OpenSSH service, and enables it by > > default. > > Definitely a good idea. If this is applied I think it should be > communicated if it break

Re: [PATCH 0/2] Openssh service patches

2017-02-17 Thread ng0
On 17-02-17 17:37:06, Clément Lassieur wrote: > The first patch adds PAM to OpenSSH service, and enables it by default. Definitely a good idea. If this is applied I think it should be communicated if it breaks peoples configurations. On the other hand, guix reconfigure lint already complains

[PATCH 0/2] Openssh service patches

2017-02-17 Thread Clément Lassieur
The first patch adds PAM to OpenSSH service, and enables it by default. This allows to log in (with a public key) if the account is locked. Otherwise, one would have to set up a password manually or, say, put '*' in /etc/shadow (with 'usermod -p'). It matters because accoun

Re: openssh-service

2016-11-07 Thread Tomáš Čech
On Mon, 03 Oct 2016 16:57:34 +0200, ng0 wrote: > > ng0 writes: > > > Can someone explain to the list how the example of the openssh-service > > is supposed to fit into a default users config based on the regular > > desktop.scm? So far I think this is a bad example bu

Re: [PATCH] openssh service

2016-10-03 Thread Ludovic Courtès
l...@gnu.org (Ludovic Courtès) skribis: > I also added a basic system test in > d5b0c9024ed174907aed4816b2607ada814a035c. It makes sure that sshd is > started and that we can connect to it as root with an empty password, as > specified in the system config. Commit 2b4363891c70bbf641bff8ff0a6fb75

Re: openssh-service

2016-10-03 Thread ng0
ng0 writes: > Can someone explain to the list how the example of the openssh-service > is supposed to fit into a default users config based on the regular > desktop.scm? So far I think this is a bad example but I have no idea how > to improve it. > > You will typically have &

openssh-service

2016-10-03 Thread ng0
Can someone explain to the list how the example of the openssh-service is supposed to fit into a default users config based on the regular desktop.scm? So far I think this is a bad example but I have no idea how to improve it. You will typically have (services (cons* (gnome-desktop-service

Re: [PATCH] openssh service

2016-10-02 Thread Ludovic Courtès
gt;> * gnu/packages/ssh.scm: Openssh reads its configuration from /etc >> * gnu/services/ssh.scm: Add openssh-service >> * doc/guix.texi (Networking Services): Document 'openssh-services'. > > Pushed as 071fbb42a6e2dcdfd566cba9525e6ae6a4dfdc7d with a few changes. > I

Re: [PATCH] openssh service

2016-09-29 Thread Ludovic Courtès
directory. Also, I fixed a mistake in > openssh-service (it was not following what the doc said). [...] > From cf879a47c8f9b0733fac906cd4bd28dc646aa9fb Mon Sep 17 00:00:00 2001 > From: Julien Lepiller > Date: Fri, 5 Aug 2016 15:20:15 +0200 > Subject: [PATCH] services: Add open

Re: [PATCH] openssh service

2016-09-26 Thread Julien Lepiller
On Fri, 26 Aug 2016 12:51:56 +0200 Andy Wingo wrote: > Hi Julien, > > Thanks for the documentation update! > > On Fri 19 Aug 2016 16:31, Julien Lepiller writes: > > > +@deffn {Scheme Procedure} openssh-service [#:pidfile > > "/var/run/sshd.pid"] @ >

Re: [PATCH] openssh service

2016-08-29 Thread Ludovic Courtès
Hi Julien, I just discovered this patch as I go through my backlog, which is fun because I used sshd as an example to illustrate how GuixSD services work just a week ago. :-) Julien Lepiller skribis: > +@deffn {Scheme Procedure} openssh-service [#:pidfile "/var/run/sshd.pid"]

Re: [PATCH] openssh service

2016-08-26 Thread Andy Wingo
Hi Julien, Thanks for the documentation update! On Fri 19 Aug 2016 16:31, Julien Lepiller writes: > +@deffn {Scheme Procedure} openssh-service [#:pidfile "/var/run/sshd.pid"] @ > + [#:port-number 22] [#:root-login "without-password"] @ > + [#:allow-em

Re: [PATCH] openssh service

2016-08-19 Thread Julien Lepiller
penssh * gnu/packages/ssh.scm: Openssh reads its configuration from /etc * gnu/services/ssh.scm: Add openssh-service * doc/guix.texi (Networking Services): Document 'openssh-services'. --- doc/guix.texi| 34 + gnu/pack

Re: [PATCH] openssh service

2016-08-19 Thread Vincent Legoll
Hello, On Fri, Aug 19, 2016 at 4:03 PM, Julien Lepiller wrote: > Does that mean I need to add an entry to the manual myself (if so, could > you tell me what file to edit?) I think that would be doc/guix.texi in http://git.savannah.gnu.org/cgit/guix.git -- Vincent Legoll

Re: [PATCH] openssh service

2016-08-19 Thread Julien Lepiller
On Fri, 5 Aug 2016 16:20:49 +0200 Julien Lepiller wrote: > On Fri, 05 Aug 2016 15:47:50 +0200 > Andy Wingo wrote: > > > On Fri 05 Aug 2016 14:18, Julien Lepiller > > writes: > > > here is a patch that adds a service definition for openssh. > > > > Very nice! > > > > > + (let ((pi

Re: [PATCH] openssh service

2016-08-05 Thread Julien Lepiller
Sep 17 00:00:00 2001 From: Julien Lepiller Date: Fri, 5 Aug 2016 15:20:15 +0200 Subject: [PATCH] services: Add openssh * gnu/packages/ssh.scm: Openssh reads its configuration from /etc * gnu/services/ssh.scm: Add openssh-service --- gnu/packages/ssh.scm | 3 +- gnu/services/ssh.scm | 139 ++

Re: [PATCH] openssh service

2016-08-05 Thread Andy Wingo
On Fri 05 Aug 2016 14:18, Julien Lepiller writes: > here is a patch that adds a service definition for openssh. Very nice! > + (let ((pid (primitive-fork))) > +(case pid > + ((0) > + (execl (string-append #$openssh "/bin/ssh-keygen") > + "ssh-key

[PATCH] openssh service

2016-08-05 Thread Julien Lepiller
ssh reads its configuration from /etc * gnu/services/ssh.scm: Add openssh-service --- gnu/packages/ssh.scm | 3 +- gnu/services/ssh.scm | 145 ++- 2 files changed, 146 insertions(+), 2 deletions(-) diff --git a/gnu/packages/ssh.scm b/gnu/packa