Carl, thank you.

I didn't realize sudo only acted on the first part and stopped at <. I 
remembered > and | but forgot about <.

Executing su with sudo...cool! I will remember this.

[user@penguinpocketwee ~]$ sudo su

[root@penguinpocketwee user]# guix archive --authorize < 
~root/.guix-profile/share/guix/hydra.gnu.org.pub
warning: failed to install locale: Invalid argument
[root@penguinpocketwee user]# exit
exit
[user@penguinpocketwee ~]$ sudo ls -l 
~root/.guix-profile/share/guix/hydra.gnu.org.pub
-rwxr-xr-x. 1 root root 1083 Dec 31 1969 
/root/.guix-profile/share/guix/hydra.gnu.org.pub


This also works for me on my GNU\Linux OS, but sudo su seems much more useful 
with multiple commands.
[user@penguinpocketwee ~]$ sudo -- sh -c 'guix archive --authorize < 
~root/.guix-profile/share/guix/hydra.gnu.org.pub'

Reply via email to