Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Jun 2001 17:54:34 -0600 (CST)
From:      Ryan Thompson <ryan@sasknow.com>
To:        CHANG HUANG <CHAN331@prodigy.net>
Cc:        questions@FreeBSD.ORG
Subject:   Re: Question about "super user"
Message-ID:  <Pine.BSF.4.21.0106011746480.78185-100000@ren.sasknow.com>
In-Reply-To: <3B16881E.000005.82791@computer>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <ryan@sasknow.com>
  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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0106011746480.78185-100000>