diff options
| author | David E. O'Brien <obrien@FreeBSD.org> | 2001-04-22 18:54:20 +0000 |
|---|---|---|
| committer | David E. O'Brien <obrien@FreeBSD.org> | 2001-04-22 18:54:20 +0000 |
| commit | 3d43d76fe36b38b0dd8d6fb9d4a622ce075d33b8 (patch) | |
| tree | 99141aa2e34d08ad83db8fa398fa2248c87a3d3d | |
| parent | efb4b1fbcf5ec4ac0725c30fd1428a5c1a6aff4a (diff) | |
Notes
| -rw-r--r-- | usr.sbin/sade/config.c | 6 | ||||
| -rw-r--r-- | usr.sbin/sysinstall/config.c | 6 |
2 files changed, 8 insertions, 4 deletions
diff --git a/usr.sbin/sade/config.c b/usr.sbin/sade/config.c index c86987e9e93c..58939bb3c429 100644 --- a/usr.sbin/sade/config.c +++ b/usr.sbin/sade/config.c @@ -971,10 +971,12 @@ configNFSServer(dialogMenuItem *self) "kinds of access to your local file systems.\n" "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 '#/usr/src and /usr/ports read-only to machines named after trouble makers' >> /etc/exports"); vsystem("echo '#/home and all directories under it to machines named after dead rock stars' >> /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 '#/usr huey louie dewie' >> /etc/exports"); + vsystem("echo '#/usr/src /usr/obj -ro calvin hobbes' >> /etc/exports"); + vsystem("echo '#/home -alldirs janice jimmy frank' >> /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"); diff --git a/usr.sbin/sysinstall/config.c b/usr.sbin/sysinstall/config.c index c86987e9e93c..58939bb3c429 100644 --- a/usr.sbin/sysinstall/config.c +++ b/usr.sbin/sysinstall/config.c @@ -971,10 +971,12 @@ configNFSServer(dialogMenuItem *self) "kinds of access to your local file systems.\n" "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 '#/usr/src and /usr/ports read-only to machines named after trouble makers' >> /etc/exports"); vsystem("echo '#/home and all directories under it to machines named after dead rock stars' >> /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 '#/usr huey louie dewie' >> /etc/exports"); + vsystem("echo '#/usr/src /usr/obj -ro calvin hobbes' >> /etc/exports"); + vsystem("echo '#/home -alldirs janice jimmy frank' >> /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"); |
