Switch to NIS.

This commit is contained in:
Wolfram Schneider 1999-04-01 10:22:33 +00:00
parent 8f73366adb
commit 69d1e219f2
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/www/; revision=4586

View file

@ -5,7 +5,7 @@ $homepagedir = 'public_html';
@index = ('index.html', 'index.cgi');
$noindex = '.noindex';
open(P, $passwd) || die "open $passwd: $!\n";
open(P, 'ypcat passwd |') || die "open $passwd: $!\n";
undef @pages;
while(<P>) {
($login,$passwd,$uid,$gid,$gcos,$home,$shell) = split(/:/);