hemko, 1 year ago You shouldn’t really use editor with sudo, but instead use sudoedit to edit files restricted to root user SUDO_EDITOR=nano sudoedit /etc/fstab This accomplishes the same function while running the text editor as unprivileged user
You shouldn’t really use editor with sudo, but instead use sudoedit to edit files restricted to root user
SUDO_EDITOR=nano sudoedit /etc/fstab
This accomplishes the same function while running the text editor as unprivileged user