0
On Lubuntu 18.04, I added a sudo command in ~/.profile, but got the error:
sudo: no tty present and no askpass program specified
I know the solution is to make the command command NOPASSWD in /etc/suoders.
I just wonder why tty hasn't been set up when ~/.profile is executed (in Lubuntu)?
T...