diff options
author | nectar <nectar@FreeBSD.org> | 2000-09-06 18:16:48 +0000 |
---|---|---|
committer | nectar <nectar@FreeBSD.org> | 2000-09-06 18:16:48 +0000 |
commit | 748554442d0ac4467fdac2ce9d42006588fd4481 (patch) | |
tree | aed2ddbcac97f46f60ee9c2063a3345553f6a1ee /release | |
parent | 59ffb36b778f8e629622726f6bd32dfa4fda7e35 (diff) | |
download | FreeBSD-src-748554442d0ac4467fdac2ce9d42006588fd4481.zip FreeBSD-src-748554442d0ac4467fdac2ce9d42006588fd4481.tar.gz |
Add nsswitch support. By creating an /etc/nsswitch.conf file, you can
configure FreeBSD so that various databases such as passwd and group can be
looked up using flat files, NIS, or Hesiod.
= Hesiod has been added to libc (see hesiod(3)).
= A library routine for parsing nsswitch.conf and invoking callback
functions as specified has been added to libc (see nsdispatch(3)).
= The following C library functions have been modified to use nsdispatch:
. getgrent, getgrnam, getgrgid
. getpwent, getpwnam, getpwuid
. getusershell
. getaddrinfo
. gethostbyname, gethostbyname2, gethostbyaddr
. getnetbyname, getnetbyaddr
. getipnodebyname, getipnodebyaddr, getnodebyname, getnodebyaddr
= host.conf has been removed from src/etc. rc.network has been modified
to warn that host.conf is no longer used at boot time. In addition, if
there is a host.conf but no nsswitch.conf, the latter is created at boot
time from the former.
Obtained from: NetBSD
Diffstat (limited to 'release')
-rw-r--r-- | release/sysinstall/installUpgrade.c | 2 | ||||
-rw-r--r-- | release/texts/UPGRADE.TXT | 21 |
2 files changed, 11 insertions, 12 deletions
diff --git a/release/sysinstall/installUpgrade.c b/release/sysinstall/installUpgrade.c index 1c70020..f82bfb7 100644 --- a/release/sysinstall/installUpgrade.c +++ b/release/sysinstall/installUpgrade.c @@ -78,7 +78,6 @@ static HitList etc_files [] = { { JUST_COPY, "gettytab", TRUE, NULL }, { JUST_COPY, "gnats", TRUE, NULL }, { JUST_COPY, "group", FALSE, NULL }, - { JUST_COPY, "host.conf", TRUE, NULL }, { JUST_COPY, "hosts", TRUE, NULL }, { JUST_COPY, "hosts.equiv", TRUE, NULL }, { JUST_COPY, "hosts.lpd", TRUE, NULL }, @@ -96,6 +95,7 @@ static HitList etc_files [] = { { JUST_COPY, "namedb", TRUE, NULL }, { JUST_COPY, "networks", TRUE, NULL }, { JUST_COPY, "newsyslog.conf", TRUE, NULL }, + { JUST_COPY, "nsswitch.conf", TRUE, NULL }, { JUST_COPY, "pam.conf", TRUE, NULL }, { JUST_COPY, "passwd", TRUE, NULL }, { JUST_COPY, "periodic", TRUE, NULL }, diff --git a/release/texts/UPGRADE.TXT b/release/texts/UPGRADE.TXT index ae5d123..ec5b565 100644 --- a/release/texts/UPGRADE.TXT +++ b/release/texts/UPGRADE.TXT @@ -62,17 +62,16 @@ the old distribution are not deleted. System configuration is preserved by retaining and restoring the previous version of the following files: - Xaccel.ini, XF86Config, adduser.conf, aliases, aliases.db, amd.map, - aliases, aliases.db, auth.conf, crontab, csh.cshrc, csh.login, - csh.logout, cvsupfile, disktab, dm.conf, dumpdates, exports, - fbtab, fstab, ftpusers, gettytab, gnats, group, host.conf, hosts, - hosts.equiv, hosts.lpd, inetd.conf, kerberosIV, localtime, login.access, - login.conf, mail.rc, make.conf, manpath.config, master.passwd, modems, - motd, namedb, networks, newsyslog.conf, pam.conf, passwd, periodic, - phones, ppp, printcap, profile, protocols, pwd.db, rc.conf.local, - rc.firewall, rc.local, remote, resolv.conf, rmt, sendmail.cf, - sendmail.cw, services, shells, skeykeys, spwd.db, syslog.conf, - ttys, uucp + Xaccel.ini, adduser.conf, aliases, aliases.db, amd.map, crontab, + csh.cshrc, csh.login, csh.logout, daily, disktab, dm.conf, exports, + fbtab, fstab, ftpusers, gettytab, gnats, group, hosts, hosts.equiv, + hosts.lpd, inetd.conf, kerberosIV, localtime, login.access, + mail.rc, make.conf, manpath.config, master.passwd, mib.txt, modems, + monthly, motd, namedb, networks, nsswitch.conf, passwd, phones, + ppp, printcap, profile, protocols, pwd.db, rc, rc.firewall, + rc.i386, rc.local, rc.network, rc.conf, remote, resolv.conf, rmt, + security, sendmail.cf, services, shells, skeykeys, spwd.db, + supfile, syslog.conf, termcap, ttys, uucp, weekly The versions of these files which correspond to the new version are moved to /etc/upgrade/. The system administrator may peruse these new |