Running a sudo command without a terminal

Kanwar Ranbir Sandhu m3freak at thesandhufamily.ca
Thu Mar 19 03:10:18 UTC 2009


On Mon, 2009-03-16 at 10:20 -0700, Rick Stevens wrote:
> The option is "requiretty" and you'll need to set to off.  Just comment
> out the line:
> 
> 	Defaults    requiretty
> 
> in your /etc/sudoers file by using visudo.

I think it's safer to disable it for a particular user instead of
whacking it for everyone on the system.

Defaults:someUser       !requiretty

Regards,

Ranbir
-- 
Kanwar Ranbir Sandhu
Linux 2.6.27.19-170.2.35.fc10.x86_64 x86_64 GNU/Linux 
23:08:46 up 12 days, 22:35, 3 users, load average: 0.39, 0.41, 0.31 





More information about the fedora-list mailing list