diff options
author | obrien <obrien@FreeBSD.org> | 2001-04-01 09:19:23 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2001-04-01 09:19:23 +0000 |
commit | de0b98d83b72a213843a794c687e49071e0a1a33 (patch) | |
tree | 47675faf55cb9fd4bb7969bb36864f358fb98363 /usr.sbin | |
parent | ee99514290d0b872945b39139ef67e4f426da459 (diff) | |
download | FreeBSD-src-de0b98d83b72a213843a794c687e49071e0a1a33.zip FreeBSD-src-de0b98d83b72a213843a794c687e49071e0a1a33.tar.gz |
Give a little more variety in the /etc/exports example.
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/sade/config.c | 4 | ||||
-rw-r--r-- | usr.sbin/sysinstall/config.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/sade/config.c b/usr.sbin/sade/config.c index 5cd5e6b..c86987e 100644 --- a/usr.sbin/sade/config.c +++ b/usr.sbin/sade/config.c @@ -972,10 +972,10 @@ configNFSServer(dialogMenuItem *self) "Press [ENTER] now to invoke an editor on /etc/exports\n"); vsystem("echo '#The following examples export /usr to 3 machines named after ducks,' > /etc/exports"); vsystem("echo '#/home and all directories under it to machines named after dead rock stars' >> /etc/exports"); - vsystem("echo '#and, finally, /a to 2 privileged machines allowed to write on it as root.' >> /etc/exports"); + vsystem("echo '#and, /a to a network of privileged machines allowed to write on it as root.' >> /etc/exports"); vsystem("echo '#/usr huey louie dewie' >> /etc/exports"); vsystem("echo '#/home -alldirs janice jimmy frank' >> /etc/exports"); - vsystem("echo '#/a -maproot=0 bill albert' >> /etc/exports"); + vsystem("echo '#/a -maproot=0 -network 10.0.1.0 -mask 255.255.248.0' >> /etc/exports"); vsystem("echo '#' >> /etc/exports"); vsystem("echo '# You should replace these lines with your actual exported filesystems.' >> /etc/exports"); vsystem("echo >> /etc/exports"); diff --git a/usr.sbin/sysinstall/config.c b/usr.sbin/sysinstall/config.c index 5cd5e6b..c86987e 100644 --- a/usr.sbin/sysinstall/config.c +++ b/usr.sbin/sysinstall/config.c @@ -972,10 +972,10 @@ configNFSServer(dialogMenuItem *self) "Press [ENTER] now to invoke an editor on /etc/exports\n"); vsystem("echo '#The following examples export /usr to 3 machines named after ducks,' > /etc/exports"); vsystem("echo '#/home and all directories under it to machines named after dead rock stars' >> /etc/exports"); - vsystem("echo '#and, finally, /a to 2 privileged machines allowed to write on it as root.' >> /etc/exports"); + vsystem("echo '#and, /a to a network of privileged machines allowed to write on it as root.' >> /etc/exports"); vsystem("echo '#/usr huey louie dewie' >> /etc/exports"); vsystem("echo '#/home -alldirs janice jimmy frank' >> /etc/exports"); - vsystem("echo '#/a -maproot=0 bill albert' >> /etc/exports"); + vsystem("echo '#/a -maproot=0 -network 10.0.1.0 -mask 255.255.248.0' >> /etc/exports"); vsystem("echo '#' >> /etc/exports"); vsystem("echo '# You should replace these lines with your actual exported filesystems.' >> /etc/exports"); vsystem("echo >> /etc/exports"); |