* user password (which module ?)
@ 2018-03-17 6:37 Catonano
2018-03-17 11:20 ` Catonano
0 siblings, 1 reply; 4+ messages in thread
From: Catonano @ 2018-03-17 6:37 UTC (permalink / raw)
To: help-guix
[-- Attachment #1: Type: text/plain, Size: 405 bytes --]
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 procedure ?
The guile manual doesn't mention it or at least I can see no mention
(see Top -> Guile Modules -> Posix -> Encryption)
Thanks
[-- Attachment #2: Type: text/html, Size: 556 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: user password (which module ?)
2018-03-17 6:37 user password (which module ?) Catonano
@ 2018-03-17 11:20 ` Catonano
2018-03-19 4:00 ` Chris Marusich
0 siblings, 1 reply; 4+ messages in thread
From: Catonano @ 2018-03-17 11:20 UTC (permalink / raw)
To: help-guix
[-- Attachment #1: Type: text/plain, Size: 615 bytes --]
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 <catonano@gmail.com>:
> 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 procedure
> ?
>
> The guile manual doesn't mention it or at least I can see no mention
> (see Top -> Guile Modules -> Posix -> Encryption)
>
> Thanks
>
[-- Attachment #2: Type: text/html, Size: 1057 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: user password (which module ?)
2018-03-17 11:20 ` Catonano
@ 2018-03-19 4:00 ` Chris Marusich
2018-03-19 5:47 ` Catonano
0 siblings, 1 reply; 4+ messages in thread
From: Chris Marusich @ 2018-03-19 4:00 UTC (permalink / raw)
To: Catonano; +Cc: help-guix
[-- Attachment #1: Type: text/plain, Size: 910 bytes --]
Catonano <catonano@gmail.com> 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 <catonano@gmail.com>:
>
>> 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 procedure
>> ?
>>
>> 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
--
Chris
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: user password (which module ?)
2018-03-19 4:00 ` Chris Marusich
@ 2018-03-19 5:47 ` Catonano
0 siblings, 0 replies; 4+ messages in thread
From: Catonano @ 2018-03-19 5:47 UTC (permalink / raw)
To: Chris Marusich; +Cc: help-guix
[-- Attachment #1: Type: text/plain, Size: 1252 bytes --]
2018-03-19 5:00 GMT+01:00 Chris Marusich <cmmarusich@gmail.com>:
> Catonano <catonano@gmail.com> 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 <catonano@gmail.com>:
> >
> >> 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
> procedure
> >> ?
> >>
> >> 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?
I think I did
I have this field in my user record
(password " " ab")
the space " " is the password (with my defective keyboard anything else is
unreasonable) and "ab" is the "seed" (I'll be damned if I now what it is)
This allows my VMs to have my user already configured when I run them for
the first time
Too bad I still can't have my keyboard layout set in my desktop
environments because Xorg roars at me when I touch its configuration :-/
[-- Attachment #2: Type: text/html, Size: 2144 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2018-03-19 5:47 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-17 6:37 user password (which module ?) Catonano
2018-03-17 11:20 ` Catonano
2018-03-19 4:00 ` Chris Marusich
2018-03-19 5:47 ` Catonano
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).