~thaler@armidale.ann-arbor.mi.us
Thu, Jan 9, 1997 (21:37)
#201
Paul Terry Walhus writes:
>
> What's the fix for this:
>
> www# webuser hugo
> This program must be installed setuid root
As root, in the directory where webuser is, do:
chown root webuser
chmod 4711 webuser
~terry@www.spring.com
Thu, Jan 9, 1997 (22:35)
#202
No cigar yet!
www# cd /usr/bbs
www# ls
.cflist censored license tmp
.software.cf cflink maillist usagelog
.test.cf conflist maillist.doc www
.yapp.cf conflist.dist man yapp.conf
Install confs menu yapp3.0.8-dist.tar
LICENSE desclist part yappthal.txt
README errorlog permissions.txt
bin etc rc
cbf.16906 help rc.orig
www# cd bin
www# ls
bbs cfcreate cfdelete cppart webuser
www# chown root webuser
www# chmod 4711 webuser
www# webuser hugo
This program must be installed setuid root
www# chmod 471 webuser
www# webuser hugo
This program must be installed setuid root
www# webuser doug
This program must be installed setuid root
www# pwd
/usr/bbs/bin
www#
~thaler@armidale.ann-arbor.mi.us
Fri, Jan 10, 1997 (09:18)
#203
Paul Terry Walhus writes:
> www# cd /usr/bbs
> www# cd bin
> www# chown root webuser
> www# chmod 4711 webuser
> www# webuser hugo
> This program must be installed setuid root
If you do "which webuser", you'll notice that running "webuser" with no
path prefix runs /usr/local/bin/webuser, not /usr/bbs/bin/webuser.
> % which webuser
> /usr/local/bin/webuser
> % ls -l /usr/local/bin/webuser
> -rwsr-xr-x 1 cfadm wheel 106496 Aug 10 14:31 /usr/local/bin/webuser
As you can see, the permissions are correct (-rwsr-xr-x = 4711), but it
isn't owned by root, which is the problem.