Page 1 of 1

Mail Demon Emails driving me mad

Posted: Tue Feb 06, 2018 1:08 am
by liamgibbins
I keep getting these...

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.

sudo: no tty present and no askpass program specified

4k emails of this, how do I stop it? Its a fresh install just added website and mail account.

After reading other popsts I disabled SSH Access for the admin account (the effected account) and suspended every cron that is set to run 5 mins..

Still getting emails...

I tried running sudo /usr/local/vesta/bin/v-update-sys-queue backup form root no errors.

Re: Mail Demon Emails driving me mad

Posted: Thu Feb 08, 2018 10:37 am
by putude
Edit your sudoers
#vi /etc/sudoers.d/admin
admin ALL=NOPASSWD:/{your bin}

Re: Mail Demon Emails driving me mad

Posted: Thu Oct 04, 2018 6:27 pm
by liamgibbins
Changed server and migrated vestacp over...

Still have that problem even after altering the /etc/sudoers.d/admin