|
Firewalls (February 1994) |
mjr said:
>if(cmd == 0) {
> struct stat sb;
> int savi;
> int savd;
>
> if(stat("/etc/passwd",&sb) == 0) {
> savi = sb.st_ino;
> savd = sb.st_dev;
> if(stat(name,&sb) == 0) {
> if(sb.st_ino == savi && sb.st_dev == savd) {
> reply(550, "You cant have the password f
>ile");
Marcus, wouldn't be better to give them a bogus password file? Look like
you are honoring the request but lead them down a false trail?
Bob Moskowitz
|