search for: awkcmd

Displaying 1 result from an estimated 1 matches for "awkcmd".

Did you mean: addcmd
2006 Apr 20
1
Script to strip chroot passwd file
Hello BSDers, I'm running Apache in a chroot jail with suPHP. It needs an /etc/ passwd in the chroot so that suPHP can setuid to the owner of the PHP script, but there's nothing that requires the passwords to be valid. Does anyone have a script strips passwords out of master.passwd, sets all shells to nologin, etc and writes it to the chroot etc dir? I've looked around but