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

Re: Changing Users in a script

On Mon, Aug 15, 2011 at 2:15 PM, Bob Proulx <bob@proulx.com> wrote:
> Bob Proulx wrote:
>> Hal Vaughan wrote:
>> > The problem is sudo can't be run without a tty, so I can run it
>> > myself, but it won't run from a script.
>> Using 'su' would solve that problem.
> BTW...  I assume that is because you have tty-tickets turned on for
> sudo?  In which case you could avoid it with sudo too by turning off
> tty-tickets for this use case.

I think that you're confusing "tty-tickets" with "requiretty".

Reply to: