↧
Answer by Andrew M. for sudo [ no tty present and no askpass program...
This is likely because sudo requires a TTY session to run. You can force sudo to assume/use a TTY by passing in the -t arguments, i.e.: sudo -tt /usr/bin/rsync
View ArticleAnswer by osdyng for sudo [ no tty present and no askpass program specified ]...
Disable SELINUX(/etc/selinux/config SELINUX=disabled and reboot).
View Articlesudo [ no tty present and no askpass program specified ] [ can't stat...
I'm running rsync from a php script using backtick operators. It's running as an apache user. In /etc/sudoers, I've set #Defaults requiretty Cmnd_Alias REPORTS = /usr/bin/rsync apache ALL = NOPASSWD:...
View Article