From owner-freebsd-questions@FreeBSD.ORG Thu May 12 18:05:51 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 62DB216A4CE for ; Thu, 12 May 2005 18:05:51 +0000 (GMT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id E090843D2D for ; Thu, 12 May 2005 18:05:50 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.13.1/8.13.3) id j4CI5nsK086894; Thu, 12 May 2005 13:05:49 -0500 (CDT) (envelope-from dan) Date: Thu, 12 May 2005 13:05:49 -0500 From: Dan Nelson To: "Dixit, Viraj" Message-ID: <20050512180549.GH2567@dan.emsphone.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-OS: FreeBSD 5.4-STABLE X-message-flag: Outlook Error User-Agent: Mutt/1.5.8i cc: freebsd-questions@freebsd.org Subject: Re: SU Question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 May 2005 18:05:51 -0000 In the last episode (May 12), Dixit, Viraj said: > I am getting this error message when I try to logon using "su" > command through Telnet remotely. All this started when I accidentally > changed permissions, since then all permissions have been restored, > yet the same error. > % su > Password: > su: setting user context: Operation not permitted Check the permissions on /usr/bin/su. They should be -r-sr-xr-x If they aren't, run "chmod a=rx,u+s /usr/bin/su" as root to fix it. You'll probably need to do this directly from the console, since you can't use su :) -- Dan Nelson dnelson@allantgroup.com