Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Dec 1995 19:27:46 -0500 (EST)
From:      Stephen Hovey <shovey@buffnet.net>
To:        Barnacle Wes <wes@intele.net>
Cc:        questions@freebsd.org
Subject:   Re: SUID bits
Message-ID:  <Pine.BSD.3.91.951206192608.648A-100000@buffnet9.buffnet.net>
In-Reply-To: <199512062301.QAA19273@intele.net>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help


On Wed, 6 Dec 1995, Barnacle Wes wrote:

> > I cannot get SUID to work on files in 2.1R.  In other unixes I would 
> > chmod 4755 filename.
> > 
> > I do here- I see the s - but when invoked it gives permission errors as 
> > though there were no suid bit set.
> > 
> > Is there some other step that has to be done?
> 
> Is the file you're trying to make suid on a filesystem that is mounted
> nosuid?  (This option did not exist in older unix systems.)

not unless thats some new default - I even went into kern_exec.c and 
commented out the if statement which disables suid if the process is 
traced or mounted nosuid and it didnt help.

I note also that if you drop a program into the general path (ie 
/usr/local/bin) the user doesnt see it till they log out and back in.

Im wondering if it isnt a mmap issue.




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?Pine.BSD.3.91.951206192608.648A-100000>