Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Dec 1995 19:30:55 -0500 (EST)
From:      Stephen Hovey <shovey@buffnet.net>
To:        David Greenman <davidg@root.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: SUID bits 
Message-ID:  <Pine.BSD.3.91.951206192818.648B-100000@buffnet9.buffnet.net>
In-Reply-To: <199512062139.NAA17816@corbin.Root.COM>

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


On Wed, 6 Dec 1995, David Greenman 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?
> 
>    What are you trying to chmod? Shell scripts are not allowed to be SUID for
> security reasons.
> 
> -DG

I ran a test with a shell script - but the problem came to light with 
'submit' which is a program from MMDF which I just ported.

Elm and PINE wouldnt work and I traced it to perms on the lock/home of 
MMDF q's.  These would work if I was root, but as a regular user - nada.

I finally got over this by setting the equivalent for mail group and 
giving group perms and setgid but this doesnt answer the primary issue.



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