requiretty

From wikieduonline
Jump to navigation Jump to search

man page

requiretty   If set, sudo will only run when the user is logged in to a real tty.  When this flag is set, sudo can only be run from a login session and not via other means such as cron(8) or cgi-bin scripts. This flag is off by default.


/etc/sudoers

Related[edit]

See also[edit]

Advertising: