Linux passwd references.

Matthew Haas (
Fri, 9 May 1997 06:52:38 -0400 (EDT)


I was wondering- how many programs rely on the presence of /etc/passwd ?
If it were to be changed in the source code to reside in a different
location under a different name, the kernel shouldn't have any problem,
but what about programs like chfn? I was thinking that if I were to do
this, it would be harder for a hacker to get to my passwd file, as 1) they
don't know where it is, and 2) they don't know what it is.

Not traditional Unix structure, I know...but for good security I think I
could handle it.

So my main questions are:

Would anything break (that is known of) if I were to do this?

Where in the source would this change be located? I have combed it over
looking for reference to 'passwd', but have had no luck, I have both done
a find and a grep.

Thanks in advance.