From owner-freebsd-security@FreeBSD.ORG Sat May 17 17:05:38 2003 Return-Path: Delivered-To: freebsd-security@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 70EF137B401 for ; Sat, 17 May 2003 17:05:38 -0700 (PDT) Received: from smtp-relay2.barrysworld.com (smtp-relay2.barrysworld.com [213.221.172.236]) by mx1.FreeBSD.org (Postfix) with ESMTP id 63DDA43FA3 for ; Sat, 17 May 2003 17:05:37 -0700 (PDT) (envelope-from killing@barrysworld.com) Received: from [213.221.181.50] (helo=barrysworld.com) by smtp-relay2.barrysworld.com with esmtp (Exim 4.12) id 19HBfH-0006yS-00 for freebsd-security@freebsd.org; Sun, 18 May 2003 01:04:35 +0100 Received: from gromit [212.211.96.3] by barrysworld.com with ESMTP (SMTPD32-7.15) id AEBD4264014A; Sun, 18 May 2003 01:07:25 +0100 Message-ID: <00b801c31cd9$5c31bbb0$9f00a8c0@mshome.net> From: "Killing" To: References: <5.2.1.1.2.20030514095822.00a800c0@computinginnovations.com> <3EC26221.9070201@compt.com> Date: Sun, 18 May 2003 02:03:25 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Subject: Re: su-ing error with FreeBSD 5.0 X-BeenThere: freebsd-security@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Security issues [members-only posting] List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 May 2003 00:05:38 -0000 Its the opposite to what Im experiencing in fact. In all previous versions of FreeBSD it does in fact give said error when using the procedure layed out. But under 5.0-current it doesnt give any error yet screen still fails to attach. I want to look @ the exact reason for this further but havent had chance, real life and all :P Steve ----- Original Message ----- From: "tomasz konefal" To: Sent: Wednesday, May 14, 2003 4:34 PM Subject: Re: su-ing error with FreeBSD 5.0 > Derek Ragona wrote: > > > On a couple servers I have one running 5.0 Release, another running 5.0 > > Stable I have a problem with su. > > > > If I login to the server using a regular account, then su - to root, > > then I try to su - to any other account, other than the one I originally > > logged in as the su works but with this error: > > > > su: No controlling tty (open /dev/tty: Permission denied) > > su: warning: won't have full job control > > > > With this error, it makes it pretty bad to use this way. > > > > Do I have something not configured correctly? Or is there something I > > need to do more in the 5.0 configuration > > from: http://www.freebsd.org/releases/5.0R/errata.html > --snip-- > /dev/tty Permissions > > FreeBSD 5.0-RELEASE has a minor bug in how the permissions of /dev/tty > are handled. This can be triggered by logging in as a non-root, non-tty > group user, and using su(1) to switch to a second non-root, non-tty > group user. ssh(1) will fail because it cannot open /dev/tty. This bug > has been fixed in 5.0-CURRENT. > --snip-- > > this sounds similar to what you are experiencing. might want to check > into 5.0-CURRENT. > > cheers, > twkonefal > > > -- > Tomasz Konefal > Systems Administrator > Command Post and Transfer Corp. > 416-585-9995 x.349 > > _______________________________________________ > freebsd-security@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-security > To unsubscribe, send any mail to "freebsd-security-unsubscribe@freebsd.org" >