sudo pitfalls

$ grep EDIT ~/.bashrc 
export EDITOR="nano"
$ su -c visudo
$ sudo visudo

As wanted, su does run nano for visudo, but sudo falls back to vi(m).
That has to do with the $(id -un) vs $USER issue I pointed out by a
former email.

-- 
ubuntu-studio-devel mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-devel

Reply via email to