[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with runas ... again



> Few weeks ago I have asked about "runas" function.
> Following suggestions from respone I have upgraded to 2.99.7 but with no success.
...

	The version is soon 2.99.9.  This one got fixed in 2.99.8:

        * libsh/interpret.c fapply():
            When analyzing argument list (lisp-list), used wrong
            data source for the for-loop continuation..
            (Affected  "runas"  facility running "filepriv"...)

	However all versions up and including  2.99.8 have bugs in
	"listexpand"  routine (all that have it at all..), it picks
	wrong components of the address, if you feed it a list with
	more complex addresses..  Like:
		Matti E Aarnio <mea@utu.fi>
	it picked:
		MattiEAarniomea@mea.utu.fi
	:-/   A fix is in for the 2.99.9

> I have got zmailer-2.99.7 but function "runas" still does not work :(
> BTW suggestion to use NOBODY=nobody also does not seem to be right :(
> 
> 	proton<jurek>(78)# /export/local/mail/bin/router -i
> 	ZMailer router (2.99.6mea #1: Mon Jan  9 21:11:58 MET 1995)
> 	  jurek@SunOS:/home/neutron2/p/jurek/zmail/zmailer-2.99.7/router
> 	Copyright 1992 Rayan S. Zachariassen
> 	Copyright 1992,1993,1994 Matti Aarnio
> 
> 	z# filepriv -M 644 /home/neutron2/p/jurek/.forward
> 	302
> 	z# runas 60001 filepriv -M 644 /home/neutron2/p/jurek/.forward
> 	-M: No such file or directory
> 	filepriv: cannot fopen("-M")!
> 	z# runas nobody filepriv -M 644 /home/neutron2/p/jurek/.forward
> 	runas: setuid(-5535): Invalid argument
> 	z# runas 60001 filepriv /home/neutron2/p/jurek/.forward
> 	302
> 
> 	Jurek
> ------------------------------------------------------------------------
> Jerzy Sobczyk              ____________ ___     Institute of Control and
> J.Sobczyk@ia.pw.edu.pl    /  /     |  |/  _\    Computation Engineering, 

	/Matti Aarnio	<mea@nic.funet.fi>