You are not logged in.
Hi folks,
it's possible to have atom cus XferCommand for only one repo?
The case: i have a private repo on ftp server, or http server with basic auth, it's possible to give a #XferCommand only for this repo?
I tried to add in repo proprieties but it's not recognized.
Thanks
Last edited by cr7wonnabe (2019-08-23 10:47:39)
Offline
What are you trying to achieve with your custom XferCommand?
If it's just authentication then you can use an entry in /root/.netrc or /root/.curlrc instead...
https://ec.haxx.se/cmdline-passwords.html
Offline
What are you trying to achieve with your custom XferCommand?
If it's just authentication then you can use an entry in /root/.netrc or /root/.curlrc instead...
https://ec.haxx.se/cmdline-passwords.html
Thanks, this is what I looking for!
Offline
Even easier: You can just put the credentials into the server URL:
http://user:password@hostname.com/repo
Online
Even easier: You can just put the credentials into the server URL:
http://user:password@hostname.com/repo
/root has 700, while pacman.d has 755. Not a good place to store a password.
Offline
True. But then, storing a password in plain text is never a good idea.
Online