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

Re: Changing Users in a script

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.


Attachment: signature.asc
Description: Digital signature

Reply to: