2 ms·
This doesn't seem to be strictly true - the two-line solution worked exactly as expected for me on 11.2.1. I used nano instead of vi (personal preference), but
by angulardragon03 6y ago
This doesn't seem to be strictly true - the two-line solution worked exactly as expected for me on 11.2.1. I used nano instead of vi (personal preference), but it worked nonetheless.
- bitlevel 6y agoMaybe that's the difference. I was using vi, and not nano. Have confirmed that using 'sudo nano /etc/pam.d/sudo' works fine. No need for the verbosity when nano works I guess. :S