From owner-freebsd-questions Fri Jun 1 16:54:40 2001 Delivered-To: freebsd-questions@freebsd.org Received: from ren.sasknow.com (ren.sasknow.com [207.195.92.131]) by hub.freebsd.org (Postfix) with ESMTP id 2D0F637B424 for ; Fri, 1 Jun 2001 16:54:37 -0700 (PDT) (envelope-from ryan@sasknow.com) Received: from localhost (ryan@localhost) by ren.sasknow.com (8.9.3/8.9.3) with ESMTP id RAA81487; Fri, 1 Jun 2001 17:54:34 -0600 (CST) (envelope-from ryan@sasknow.com) Date: Fri, 1 Jun 2001 17:54:34 -0600 (CST) From: Ryan Thompson To: CHANG HUANG Cc: questions@FreeBSD.ORG Subject: Re: Question about "super user" In-Reply-To: <3B16881E.000005.82791@computer> Message-ID: Organization: SaskNow Technologies [www.sasknow.com] MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 CHANG HUANG wrote to questions@FreeBSD.ORG: > I have a problem to use "su" comment. when I open windowmaker and try > to change from general user to super user by type "su" and password in > xterm, I receive a "sorry" massage. But I can use "su" comment to > change to super user if I exit windowmaker. how can I log to root when > I am using windowmaker? Thank you help! I don't have a specific answer for you, nor do I know if this is a known issue with Windowmaker, but the following strategy will likely help identify (and possibly solve) the problem. At a Windowmaker terminal, use the "id" command. For example: $ id uid=900(you) gid=381(yer_group) groups=381(yer_group), 0(wheel) You must (as shown above) be a member of the wheel group (gid 0) to su root. Try that command at the regular console as well and compare the results. If you are not a member of the wheel group, add your username to /etc/group by editing the first line: wheel:*:0:root,you ^^^ After saving, try su again as that user. Hope this helps, - Ryan -- Ryan Thompson Network Administrator, Accounts SaskNow Technologies - http://www.sasknow.com #106-380 3120 8th St E - Saskatoon, SK - S7H 0W2 Tel: 306-664-3600 Fax: 306-664-1161 Saskatoon Toll-Free: 877-727-5669 (877-SASKNOW) North America To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message