[sudo-users] Sudo - Rexec
David.Harding at brighthouse.co.uk
David.Harding at brighthouse.co.uk
Thu Aug 25 10:08:28 EDT 2011
Paul,
Thanks very much; that does the trick
Cheers,
dave
"Paul Cantle" <paul at cantle.me>
25/08/2011 13:45
To
"Dave" <david.harding at brighthouse.co.uk>, <sudo-users at sudo.ws>
cc
Subject
Re: [sudo-users] Sudo - Rexec
I think you can use the following in /etc/sudoers
!requiretty
And that will override the default settings that require a TTY
Paul
On 25/08/2011 11:18, "Dave" <david.harding at brighthouse.co.uk> wrote:
>Gary Bouda <Gary.Bouda <at> PublicTrust.co.nz> writes:
>
>> I am
>> using rexec ( using standard rexec and dlls within vb) from a NT/XP
>> workstation to run sudo on a IBM Aix server.
>>
>> What I get is the
>> command runs on the aix box, but then hangs for 20-60 seconds then
>>returns the
>> info to the calling program.
>>
>> If I use the same
>> command but not using sudo, the command returns straight
>> away.
><snip>
>Gary,
>
>Did you get any replies on this?
>I have been playing with rexec and sudo. I have found that sudo requires
>that
>you be attached to a tty device, and it will fail if not; typically, when
>you
>use rexec to "login" to a remote server, you won't have a tty attached, I
>think.
>I was wondering if you had any suggestions back that might be useful to
>me, too.
>
>Cheers,
>dave
>
>
>
>____________________________________________________________
>sudo-users mailing list <sudo-users at sudo.ws>
>For list information, options, or to unsubscribe, visit:
>http://www.sudo.ws/mailman/listinfo/sudo-users
<td class='Content'>
<br>
-------------------------------------------------------------------------------------------<br>
Caversham Finance Limited, registered in England No 0785922 Registered office:<br> 5 Hercules Way, Leavesden Park, Watford WD25 7GS
<br>
Caversham Trading Limited, registered in England No 05396147 Registered office:<br> 5 Hercules Way, Leavesden Park, Watford WD25 7GS
<br>
BrightHouse Limited, registered in England No 06073794 Registered office:<br> 5 Hercules Way, Leavesden Park, Watford WD25 7GS
</td>
More information about the sudo-users
mailing list