Re: Running a sudo command without a terminal

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

 



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 


-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux