Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Mar 1997 17:12:55 -0800 (PST)
From:      Snob Art Genre <ben@narcissus.ml.org>
To:        RGireyev@BellInd.com
Cc:        questions@freebsd.org
Subject:   RE: Post installation stuff
Message-ID:  <Pine.NEB.3.95.970304171125.8561C-100000@narcissus.ml.org>
In-Reply-To: <c=US%a=_%p=BellInd%l=CDCEXCHANGE-970305003301Z-1673@cdcexchange.bellind.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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."




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