10 nfs – Thinklogical Secure Console Server Manual User Manual

Page 49

Advertising
background image

S e c u r e C o n s o l e S e r v e r M a n u a l , R e v . K , J u l y , 2 0 1 3

Page 49

7.9.6 NIS Configuration File

The NIS configuration file (located at

/etc/nsswitch.conf)

must be edited by the user to

support your NIS server. To do this:

1.

Open the file

/etc/nsswitch.conf

using your editor.

2.

Edit (add or modify) a line to your config file that supports local files for local users and,
if not assigned locally, refers to the NIS database. The line should read:

port_access:filesnis

3. Save your updated

nsswitch.conf

file.

7.10 NFS

NFS information can be obtained from the

man

pages, which is an overview of setup

information for an NFS application as it pertains to the SCS. Refer to the following:

man

pages:nfs, mount, fstab.

7.10.1 Remote NFS Directory

To mount a remote directory onto the SCS you must start the

portmap

and

netfs

services.

To manually start

portmap

and

netfs

services, enter the commands

:

service portmap start
service netfs start

To automatically start

portmap

and

netfs

services at Power On, enter the commands:

chkconfig portmap on
chkconfig netfs on

Determine which local directory name you will use to refer to the remote directory. The standard
name is

/mnt

.

If you need more than one remote directory mounted, create the additional

directories under the

/mnt

directory. (e.g

., /mnt/dir1, /mnt/dir2, /mnt/dir3

...)

To test the mounting, enter the following:

mount -t nfs <remote server name>:<remote directory name> <local

directory name>

Example

: mount -t nfs nyc:/usr/local/cvs/mnt/dir2

!

Note: To have this mount occur at startup, you must edit the file

/etc/fstab

.

See the

man

pages noted above for details.

For example:

n y c: /i sr /l oc al /c v s/ mn t/ di r2 nf sh a rd ,i nt r



Advertising