From owner-freebsd-questions Thu May 31 12:24:46 2001 Delivered-To: freebsd-questions@freebsd.org Received: from smtp.pace.edu (ntutil.pace.edu [205.232.111.9]) by hub.freebsd.org (Postfix) with ESMTP id 5E23237B422 for ; Thu, 31 May 2001 12:24:42 -0700 (PDT) (envelope-from js43064n@stmail.pace.edu) Received: from stmail.pace.edu (205.232.111.7:3494) by smtp.pace.edu (LSMTP for Windows NT v1.1b) with SMTP id <0.A89A70C3@smtp.pace.edu>; Thu, 31 May 2001 15:24:42 -0400 Date: Thu, 31 May 2001 15:24:40 -0400 Message-Id: <200105311524.AA19005782@stmail.pace.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii From: "Jonathan Slivko" Reply-To: To: , Theo van Klaveren Subject: Re: SU and PTYs X-Mailer: Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG sudo should work fine for that, if you can get root access at all. -- Jonathan M. Slivko ----------------------------------------- Jonathan M. Slivko Network Admin., DataSyrge Internet Svces. Server Co-Admin., AsylumNet IRC Networks web: http://webpage.pace.edu/js43064n/ voice: (212) 696-6774 (24 Hours) ----------------------------------------- ---------- Original Message ---------------------------------- From: Theo van Klaveren Date: Thu, 31 May 2001 21:22:30 +0200 > >Hi, > >I'm trying to let a program get super-user rights by calling su in a >pseudo-terminal (the attached program demonstrates this). This however does not >work, because su gets stuck in ttywait. > >Can anyone tell me what I'm doing wrong, or at least provide me with a program >that does do the trick? > >Thanks in advance, >Theo > >P.S. Please reply to me directly. I am not subscribed. > >-- >Theo van Klaveren >http://home.student.utwente.nl/t.vanklaveren > > ___________________________________________________________________ ___ Sent via the Pace University Mail system at stmail.pace.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message