[Prev][Next][Index][Thread]

Re: Shadow Password + httpd



On Mon, 20 May 1996, Gilad Gam wrote:

Su to nobudy will work as you install shadow enable su program(as well as passwd
login, etc ...)
However. any other progrm that access passwd file directly, need to be 
recomplied to supprt shadows.
y have 2 options

1. recomplie libc and enable shadow competability in it ( NOT RECUMENDED)
2. recomplie httpd changing any referance to pwd.h to the shadow passwd heder
   (dont remember) and link it with libshadow. y might have to play whith some
   patches to the source (setuid, setgid and any pwd struct pointers)

Good luck

Alon

> Hi,
> I start the server as root, and when it tries to fork some child processes, it fails
> because it can't change their euid to nobody.
> 
> I checked the config files and also the password and shadow files, and all seems to be
> OK. The user and group exist, and I can even use su to change to nobody. The server,

--------------------------------------------------------------------
Alon Lelcuk				Tel : (972) 2 664533	
Technical Manager			Fax : (972) 2 636043
Macom Networking Ltd.			Email : lelcuk@macom.co.il
	Visit our WWW site at http://www.macom.co.il/index.html
--------------------------------------------------------------------


References: