Quantcast
Channel: sudo [ no tty present and no askpass program specified ] [ can't stat /var/run/sudo: Permission denied ] - Server Fault
Browsing latest articles
Browse All 3 View Live

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 Article



Answer by osdyng for sudo [ no tty present and no askpass program specified ]...

Disable SELINUX(/etc/selinux/config SELINUX=disabled and reboot).

View Article

sudo [ 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
Browsing latest articles
Browse All 3 View Live




Latest Images