From owner-freebsd-questions@FreeBSD.ORG Thu Mar 13 02:14:34 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 62DE6106566B for ; Thu, 13 Mar 2008 02:14:34 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from mail.potentialtech.com (internet.potentialtech.com [66.167.251.6]) by mx1.freebsd.org (Postfix) with ESMTP id 22A498FC12 for ; Thu, 13 Mar 2008 02:14:33 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from working (c-71-60-127-199.hsd1.pa.comcast.net [71.60.127.199]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.potentialtech.com (Postfix) with ESMTP id DA63EEBC09 for ; Wed, 12 Mar 2008 22:14:32 -0400 (EDT) Date: Wed, 12 Mar 2008 22:14:32 -0400 From: Bill Moran To: freebsd-questions Message-Id: <20080312221432.ff2fd465.wmoran@potentialtech.com> In-Reply-To: <20080312154658.GA6696@gizmo.acns.msu.edu> References: <47D7CE4E.7030508@alshome.be> <20080312095238.35d257d2.wmoran@potentialtech.com> <20080312151922.GC6354@gizmo.acns.msu.edu> <20080312112736.47c2c4b5.wmoran@potentialtech.com> <20080312154658.GA6696@gizmo.acns.msu.edu> X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Superuser password lost 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: Thu, 13 Mar 2008 02:14:34 -0000 Because I don't think it's appropriate to drag this conversation on and on, I'm going to try to answer all the responses in a single email. Jerry McAllister wrote: > > On Wed, Mar 12, 2008 at 11:27:36AM -0400, Bill Moran wrote: > [snip] > > > > No. The term "superuser" is a made-up term for any way of gaining > > root privs. In my experience it's confusing as there are two > > commonly used methods for doing this, the su command and sudo, and > > they require different passwords. > > I have never seen the term used that way. > > I have seen su and sudo referred to as ways of a non-root id gaining > superuser priviledge/root priviledge but not a superuser as someone who > is not root, but has a method of gaining root priviledge. Apparently I miscommunicated. My point was that the OP's message used the term "superuser" in an ambiguous way. (i.e. the way I mentioned). To me, it wasn't clear what it was asking for, and thus sending the OP to the PC-BSD community (where folks are probably familiar to the GUI widget he's dealing with) seemed the best thing to do. Erik Trulsson wrote: > > On Wed, Mar 12, 2008 at 11:27:36AM -0400, Bill Moran wrote: [snip] > > > > No. The term "superuser" is a made-up term for any way of gaining > > root privs. > > Wrong. "superuser" is, just as the previous poster said, a synonym > for "root", i.e. a user account with UID=0 > > See for example http://en.wikipedia.org/wiki/Superuser > or http://catb.org/jargon/html/S/superuser.html Who am I to argue with wikipedia? But the second link you provide does not agree with your explanation. According to The Jargon File, my wmoran account is a superuser, because it's a member of the wheel group. Thus, my argument that the term is ambiguous, which (based on the links you provided) you seem to be backing up. Alex Zbyslaw wrote: > Hate to be picky, because I'd agree with most everything else you wrote, > but superuser, and its synonym super-user, do appear in many base man > pages, for example the su page shown below. Sometimes it's a shortcut > for root (or other UID 0 user), like below in su, sometimes just for > effective UID 0 in general, for example as in mount(8). > > > The su utility requests appropriate user credentials via PAM and > > switches > > to that user ID (the default user is the superuser). A shell is then > > executed. Mel wrote: > > In the kernel even! > suser(9), suser_cred(9), vfs_suser(9) OK, I was wrong on this point. Alex Zbyslaw wrote: > > I'd contend that the su manpage *should* say root not superuser, since > root is hardwired as the default. But for other cases, any user with > UID 0 might work just as well (e.g. toor). I agree on this point, but not enough to bother trying to put a patch together that (based on the conversation here) is likely to be controversial. -- Bill Moran http://www.potentialtech.com