[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Running a sudo command without a terminal



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 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]