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.
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
> 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
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
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
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
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