From owner-freebsd-questions Tue Mar 4 17:13:09 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id RAA02478 for questions-outgoing; Tue, 4 Mar 1997 17:13:09 -0800 (PST) Received: from narcissus.ml.org (root@brosenga.Pitzer.edu [134.173.120.201]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id RAA02461 for ; Tue, 4 Mar 1997 17:13:04 -0800 (PST) Received: from localhost (ben@localhost) by narcissus.ml.org (8.7.5/8.7.3) with SMTP id RAA08596; Tue, 4 Mar 1997 17:12:55 -0800 (PST) Date: Tue, 4 Mar 1997 17:12:55 -0800 (PST) From: Snob Art Genre To: RGireyev@BellInd.com cc: questions@freebsd.org Subject: RE: Post installation stuff In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Tue, 4 Mar 1997 RGireyev@BellInd.com wrote: > > > >On Tue, 4 Mar 1997 RGireyev@BellInd.com wrote: > > > >> [..] > >> > >> >> Troubles continue. I added another user onto the system ( named > >> >> beavis) and assigned him to the group bin, which if I'm not > >> >> mistaken is the group of the root. I logged in as beavis and > >> > > >> >You are mistaken. Root's group is wheel. > >> > > >> >> STILL was not allowed to su :-( I am running a clean install > >> >> of 2.1.7 (not an upgrade) and I add users using /stand/sysinstall . > >> >> Am I the only clueless newbie this is happening to? > >> > > >> >Probably not. Only members of group wheel are allowed to su. > >> > >> Hi Ben! > >> Thanks for replying again. If you remember though my original > >> user was part of the group wheel and I still could not su. I cannot > >> wait to get home and look at the code, maybe I'll see something there. > > > >Right, but wheel is still the group that can su. Did you make sure the > >permissions were right? What happened when you tried to su? > > Doohhh! > > Sorry completely forgot to tell you. After getting your mail I went home > and did the following: > 1. Logged in as root. > 2. which su (gave me the path something like /sbin/su or whatever) > 3. the permissions looked as follows -r-sr-xr-x > 4. I type chmod 455 /sbin/su Not 455, 4555. BIG difference. > 5. did ll, it then looked like: -r--r-xr-x > Still no go, not for a user in group wheel or group bin. > > I guess I should note here that it looks like the program executes, > alright, and some snippet of code within it determines that I do not > have the security to perform su. So it kindly spits a message to me > telling me that "You do not have permission to perform su ...." > Thanks again Send me your /etc/group file, please, and the output of "ls -l `which su`". Note that those are backquotes around the "which su", not regular single quotes. > Rudy > > > > Ben > > > >"You have your mind on computers, it seems." > > > > > Ben "You have your mind on computers, it seems."