You are not logged in.
Pages: 1
I got this:
warning: /etc/sudoers installed as /etc/sudoers.pacnewI handled it like this: I checked in the sudoers file which lines are uncommented, then:
sudo EDITOR=nano visudo /etc/sudoers.pacnewwhere I uncommented the same lines.
Lastly:
sudo mv /etc/sudoers.pacnew /etc/sudoersIs this the proper way to handle the warning or did I do something wrong?
Thanks in advance.
Offline
pacman's warning is no notify the user (i.e. you) that there has been installed a new default version of the respective config file, /etc/sudoers in this particular case.
There is a tool shipped with pacman-contrib called pacdiff that allows you to check those differences and take appropriate action.
In your particular case, you could just have ignored the new file or deleted it, since no relevant changes were performed with regards to the default settings in said file.
However, this depends on the file and what updates actually have been made to the upstream or package's default.
Again, pacdiff is your friend.
Last edited by schard (2023-07-26 12:36:40)
Inofficial first vice president of the Rust Evangelism Strike Force
Offline
pacman's warning is no notify the user (i.e. you) that there has been installed a new default version of the respective config file, /etc/sudoers in this particular case.
There is a tool shipped with pacman-contrib called pacdiff that allows you to check those differences and take appropriate action.
In your particular case, you could just have ignored the new file or deleted it, since no relevant changes were performed with regards to the default settings in said file.
However, this depends on the file and what updates actually have been made to the upstream or package's default.
Again, pacdiff is your friend.
Thank you. In this case I didn't use pacdiff because there was only one uncommented line in the "old" sudoers file.
However, what I would like to understand better (apart from pacdiff for a moment) is whether the procedure I followed is correct or not, or whether it is preferable to proceed in a different way in order to update the sudoers file. Thanks again!
Last edited by mtubarch (2023-07-26 13:33:55)
Offline
Pages: 1