Open Ambrevar opened 5 years ago
I also recommend making the command customizable to accommodate systems like Nix and Guix.
Thank you for trying out my package. Now you can run the command without sudo by setting linux-disk-use-sudo
to nil. Since I have switched to Chrome OS for the most part, I can't test this package now. Does it work?
As for the password issue, I have no idea how to resolve it. I didn't need a password to run sudo
on my computer as I had tweaked /etc/sudoers
to allow that.
I think I need a major rewrite of this package with regards to the privilege problem. I will work on it later, since I have no Linux machine now and I can't test this package properly on Chrome OS. Would you want to omit sudo
for running LVM commands?
Thanks, this works!
I don't use LVM so I cannot test this use case.
Thanks. I'm now planning on delegating those process tasks to a separate package. Hopefully, it will allow more flexible customisation of calling external processes. For now, I'm glad it solved the problem.
In the following
the
process-lines
fails if the password is not cached by sudo. I'm not sure how to fix it, but lsblk works without sudo for me (on Guix System).