Re: Passwords inside System Configuration

2020-01-24 Thread Raghav Gururajan
Hi Giovanni! > no sorry, I never searched for that because I think it is unsecure, > so I > don't know how to do it No worries! :-) Regards, RG. signature.asc Description: This is a digitally signed message part

Re: Passwords inside System Configuration

2020-01-24 Thread Giovanni Biscuolo
Hi Raghav, Raghav Gururajan writes: [...] >> > 3) LUKS Device >> >> AFAIK it's not possible to provide the passphrase in the system >> configuration, and it's by design :-) > > Hmm, I have heard of a way to embed the passphrase in 'initrd'. Do you > know how to do that? no sorry, I never

Re: Passwords inside System Configuration

2020-01-22 Thread Raghav Gururajan
Hi Vagrant! > I'm no expert, but evaluating the future based on today has it's > weaknesses; brute-force isn't usually what makes it possible to > compromise an algorithm... > > https://valerieaurora.org/hash.html I see. > According to wikipedia, SHA-512 is in the SHA2 family: > >

Re: Passwords inside System Configuration

2020-01-21 Thread Vagrant Cascadian
On 2020-01-21, Raghav Gururajan wrote: >> Note: The hash of this initial password will be available in a file >> in >> /gnu/store, readable by all the users, so this method must be used >> with >> care. > > I see. But why would it be a concern? It is not feasible to brute-force > SHA-512 hash

Re: Passwords inside System Configuration

2020-01-21 Thread Raghav Gururajan
Hello Giovanni! > --8<---cut here---start->8--- > (user-account > (name "charlie") > (group "users") > > ;; Specify a SHA-512-hashed initial password. > (password (crypt "InitialPassword!" "$6$abc"))) > --8<---cut

Re: Passwords inside System Configuration

2020-01-20 Thread Giovanni Biscuolo
Hello Raghav, "Raghav Gururajan" writes: > Hello Guix! > > I would like to insert/set password for the following, inside system > configuration (config.scm): > 1) Roor User > 2) Regular User --8<---cut here---start->8--- (user-account (name "charlie")

Passwords inside System Configuration

2020-01-19 Thread Raghav Gururajan
Hello Guix! I would like to insert/set password for the following, inside system configuration (config.scm): 1) Roor User 2) Regular User 3) LUKS Device Could anyone please provide me straight-forward step-by-step instruction to achieve it? Thank you! Regards, RG.