Yes it works fine for me. Thanks a lot
... But you may not get the results you expect. From man visudo
visudo - edit the sudoers file
visudo [-c] [-q] [-s] [-V] [-f sudoers]
visudo edits the sudoers file in a safe fashion, analogous to vipw(8).
visudo locks the sudoers file against multiple simultaneous edits, pro‐
vides basic sanity checks, and checks for parse errors. If the sudoers
file is currently being edited you will receive a message to try again
So somebody is already editing the file.