From owner-freebsd-questions@FreeBSD.ORG Sun Mar 26 11:07:31 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 BB49816A400 for ; Sun, 26 Mar 2006 11:07:31 +0000 (UTC) (envelope-from freeknossin@planet.nl) Received: from psmtp02.wxs.nl (psmtp02.wxs.nl [195.121.247.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5783F43D45 for ; Sun, 26 Mar 2006 11:07:31 +0000 (GMT) (envelope-from freeknossin@planet.nl) Received: from edsger (ip56519a8a.speed.planet.nl [86.81.154.138]) by psmtp02.wxs.nl (iPlanet Messaging Server 5.2 HotFix 2.02 (built Oct 21 2004)) with ESMTP id <0IWQ00D4MEW315@psmtp02.wxs.nl> for freebsd-questions@freebsd.org; Sun, 26 Mar 2006 13:07:15 +0200 (MEST) Date: Sun, 26 Mar 2006 13:07:15 +0200 From: Freek Nossin In-reply-to: <20060326065414.GQ42429@dan.emsphone.com> To: 'Dan Nelson' , 'Saul Mena Avila' Message-id: <00d401c650c5$70bece10$9600000a@edsger> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 X-Mailer: Microsoft Office Outlook 11 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Thread-index: AcZQwo7ILxE1w4FHSAOXctbERTUsoQAAaavw Cc: freebsd-questions@freebsd.org Subject: RE: Thanks! and... the su command X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Mar 2006 11:07:31 -0000 > -----Original Message----- > From: Dan Nelson [mailto:dnelson@allantgroup.com] > Sent: zondag 26 maart 2006 8:54 > To: Saul Mena Avila > Cc: freebsd-questions@freebsd.org > Subject: Re: Thanks! and... the su command > > In the last episode (Mar 26), Saul Mena Avila said: > > Hi!. Thanks for helping me with the USB flash memory. I've also have > trouble > > with the su command... since I installed the FreeBSD 5.4, everytime I > try to > > login as root with su, the shell answers me with "Sorry"... and that's > all. > > Is it wrong configured or installed? > > You need to be in the 'wheel' group to su to root. It's not mentioned > in the su manpage, but is in both the FAQ and handbook. > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/admin.html > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/securing- > freebsd.html > > -- > Dan Nelson > dnelson@allantgroup.com Although it is described in the handbook, in my opinion an "error message", or more generally a "feedback message", should give more useful feedback to the user. Now the user must think of all the checks that can fail while - in this case - authenticating, which is rather silly when you think of it, because the su-command, just did exactly the same, and could have easily printed a message that would describe the check on which it returned the error. - Freek Nossin PS: cc to freebsd-?