[Nix-dev] Passwd

Vladimír Čunát vcunat at gmail.com
Tue Aug 12 17:08:30 CEST 2014


On 08/12/2014 05:03 PM, Julio Cesar Campos wrote:
> Thanks for your reply, but I really do not like what you say.
>
> Where adding the user to the ‘wheel’ group.
> Note: This is a translation of google.

Login as root; then it should work to run:
usermod -a -G wheel julio

I didn't know exactly from memory, but I checked "man usermod".
NixOS users are still typically expected to know some UNIX/Linux basics. 
Otherwise the life can be hard...


Vlada


(old context)
> 2014-08-12 2:27 GMT-05:00 Vladimír Čunát <vcunat at gmail.com
> <mailto:vcunat at gmail.com>>:
>
>     On 08/12/2014 07:52 AM, Mateusz Kowalczyk wrote:
>
>         Adding the user to the ‘wheel’ group
>         and settings ‘security.sudo.enable = true;’ should be enough.
>
>
>     security.sudo.enable = true; is the default, so adding to wheel
>     should be enough. To do that you do need root privileges. You should
>     be able to log in as root in the console, the same way as before (or
>     with the chosen password if you did change it for root; BTW, it's
>     good not to leave root password empty).


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3251 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.science.uu.nl/pipermail/nix-dev/attachments/20140812/c4d67978/attachment-0001.bin 


More information about the nix-dev mailing list