Re: Entering the sudo password before guix pull when updating the, system

2024-08-20 Thread Marek Paśnikowski
Oleander via writes: > Hi Zelphir! > > with `sudo -i` I get the same hint. > Oleander, sudo -i only applies when you perform administration as the root user. The typical administration is done by the user in the group wheel, which means using sudo without the -i switch.

Re: Entering the sudo password before guix pull when updating the, system

2024-08-20 Thread Oleander via
Hi Zelphir! with `sudo -i` I get the same hint. Original Message On Aug 20, 2024, 13:30, Zelphir Kaltstahl wrote: >> How can I enter the sudo password before `guix pull` runs when updating with >> `guix pull && sudo guix system reconfigure config.scm`? > >> `sudo sh -c "su -c

Re: Entering the sudo password before guix pull when updating the, system

2024-08-20 Thread Zelphir Kaltstahl
> How can I enter the sudo password before `guix pull` runs when updating with `guix pull && sudo guix system reconfigure config.scm`? > `sudo sh -c "su -c 'guix pull' $USER && guix system reconfigure config.scm"` returns: > "hint: After setting PATH, run hash guix to make sure your shell ref

Re: Entering the sudo password before guix pull when updating the system

2024-08-20 Thread Marek Paśnikowski
Ian Eure writes: > Hi Oleander, > > Oleander via writes: > >> How can I enter the sudo password before `guix pull` runs when updating with >> `guix pull && sudo >> guix system reconfigure config.scm`? >> > > I don’t believe there’s a reasonable way to do what you want. I think your > best opt

Re: Entering the sudo password before guix pull when updating the system

2024-08-19 Thread Ian Eure
Hi Oleander, Oleander via writes: How can I enter the sudo password before `guix pull` runs when updating with `guix pull && sudo guix system reconfigure config.scm`? I don’t believe there’s a reasonable way to do what you want. I think your best option is to configure your sudoers file

Re: Entering the sudo password before guix pull when updating the system

2024-08-19 Thread Oleander via
ps: without running guix pull with root privileges. Original Message On Aug 19, 2024, 20:03, Oleander wrote: > How can I enter the sudo password before `guix pull` runs when updating with > `guix pull && sudo guix system reconfigure config.scm`? > > `sudo sh -c "su -c 'guix pul

Entering the sudo password before guix pull when updating the system

2024-08-19 Thread Oleander via
How can I enter the sudo password before `guix pull` runs when updating with `guix pull && sudo guix system reconfigure config.scm`? `sudo sh -c "su -c 'guix pull' $USER && guix system reconfigure config.scm"` returns: "hint: After setting PATH, run hash guix to make sure your shell refers to