From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Marusich Subject: Re: user password (which module ?) Date: Mon, 19 Mar 2018 05:00:41 +0100 Message-ID: <87woy8u32u.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60223) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1exlyX-0004Nr-Ta for help-guix@gnu.org; Mon, 19 Mar 2018 00:00:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1exlyX-00009x-1v for help-guix@gnu.org; Mon, 19 Mar 2018 00:00:46 -0400 Received: from mail-pg0-x234.google.com ([2607:f8b0:400e:c05::234]:46206) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1exlyW-00009q-Rf for help-guix@gnu.org; Mon, 19 Mar 2018 00:00:44 -0400 Received: by mail-pg0-x234.google.com with SMTP id g8so3325849pgq.13 for ; Sun, 18 Mar 2018 21:00:44 -0700 (PDT) In-Reply-To: (catonano@gmail.com's message of "Sat, 17 Mar 2018 12:20:14 +0100") List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Catonano Cc: help-guix --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Catonano writes: > ah crypt is in the user namespace, I mean the top level namespace, the one > the REPL is in when you launch it > > Ok, thanks anyway > > 2018-03-17 7:37 GMT+01:00 Catonano : > >> I'd like to define a password for my user in my conf.scm file >> >> Because I don't want to be bothered with using passwd every time >> >> In the manual I read that I have to use thhe Guile ""crypt" procedure >> >> Which module should I import in my conf file in order to se that procedu= re >> ? >> >> The guile manual doesn't mention it or at least I can see no mention >> (see Top -> Guile Modules -> Posix -> Encryption) Did you figure this out? It's a little tricky. There's an example you can copy from an email I wrote long ago here (search for "crypt"): https://lists.gnu.org/archive/html/help-guix/2016-11/msg00075.html =2D-=20 Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEy/WXVcvn5+/vGD+x3UCaFdgiRp0FAlqvNekACgkQ3UCaFdgi Rp2iOQ//ZC/TvH98MDvggM5BqatTYT70Kf75nZQHC33/9ksf6T4eiQ+Upa9evJqB /H/XNWrmcimRfnmZhrj9cnLvjZWp8oqzSkxNARbaLswuRKgZmMl/njjStwRrKxzR TyOCGr5Yq1/kjxJ3NDvo5+DBvGphk6hM8zm6cP99ity4pmaSIYniY8fWUok31M6B hAXHdaGr6yqngRaF/qqDgdaUumfLbWwDRUfGkHWBGfkzrRTg2OYLkpTCQDcYuosQ +TZxiremthwd3tuG8cHRK5OjJ/hL9+OEZO1X0Fy7haFQHuzI+h15M+j/Lg/hZEo3 sMt682p3AzSuTDLh60P/Xcn5JfH53kOLMSgDE6idchBCbvOu3x6s6eBmK4TE1uhv 28YFmx/25IsXNdJQngneYuUWZbNRJPJbYkZoPsuJ7im/Iexb/ywg50dgbDhEipmr UZ52zkVSjCyHoicAc9aRfFT2hxu1x1gbeGoVAnUwQK7CY1EvpgbEVRvZI6wkTa0v ANDmuRG5nmK41tdnbXYjfZQTcqUne3GyERaDHOz0o3IwMmSIMLFffOmSjwTYIj5V 1GskrC0hwnOWW5ALZx5dn7r4MZ9iiKUj0fYif9pElB8skqGV/vmoujKLeP/m3NZ9 E6LKWu1ZlK3+vBuC39+1IsKpYrx5eRDMZ0UPbaO37EYle4XC7ME= =mZiZ -----END PGP SIGNATURE----- --=-=-=--