*BSD News Article 10632


Return to BSD News archive

Received: by minnie.vk1xwt.ampr.org with NNTP
	id AA400 ; Sun, 31 Jan 93 14:06:18 EST
Path: sserve!manuel.anu.edu.au!munnari.oz.au!spool.mu.edu!sdd.hp.com!cs.utexas.edu!sun-barr!sh.wide!wnoc-tyo-news!cs.titech!titccy.cc.titech!ss.titech!cradle.titech!nakamura
From: nakamura@cradle.titech.ac.jp (Kazushi NAKAMURA)
Newsgroups: comp.unix.bsd
Subject: Re: su problems.
Message-ID: <1kgt8iINNqmo@nanny.cradle.titech.ac.jp>
Date: 31 Jan 93 16:03:30 GMT
References: <1993Jan27.070108.27600@ucsu.Colorado.EDU>
	<C1JBwH.E0A@demon.co.uk>
Lines: 24
NNTP-Posting-Host: nanny.cradle.titech.ac.jp

In article <C1JBwH.E0A@demon.co.uk>
peter@alice.wonderland.org writes:
> GALBRAITH JOHN (galbrait@rintintin.Colorado.EDU) wrote:
> : 	On my 386bsd machine, nobody can su to root.  There is no
	...
> : no password is needed.  Obviously, this is a pain.  Does anybody know
> : what is going on?  Thanks.
> 
> Users who are allowed to su must be in the "wheel" group.
> 
> On a similar note "su -c command" doesn;t seem to work for me, or am I
> being stupid ?

  Then,check the setuid bit of /bin/su.
   v
-rwsr-xr-x  1 root ...	/bin/su*
   ^this

  If not,type "chmod u+s /bin/su" as root.
Good luck!
--
nakamura@cradle.titech.ac.jp	$@CfB<!!(J   $@OB;V(J
kazus-n@ascii.co.jp		NAKAMURA Kazushi
jo3oob@jo3oob 1297.44MHz