CUUG官方博客: CUUG官网_CUUG怎么样_CUUG培训就业怎么样_CUUG学Oracle要多少钱

NFS&信任关系作业

telnet (aix193)

#  /etc/hosts



# Internet Address      Hostname        # Comments

# 192.9.200.1           net0sample      # ethernet name/address

# 128.100.0.1           token0sample    # token ring name/address

# 10.2.0.2              x25sample       # x.25 name/address

127.0.0.1               loopback localhost      # loopback (lo0) name/address



#193: 00096bde12a5

192.168.8.193   aix193



#229:   001125e6e036

192.168.8.229   aix229


[root@aix193: /]$ cd /soft1

[root@aix193: /soft1]$ ls

[root@aix193: /soft1]$ echo hello > hello.txt

[root@aix193: /soft1]$ ls

hello.txt

[root@aix193: /soft1]$ cat hello.txt 

hello

[root@aix193: /soft1]$ smit nfs


Move cursor to desired item and press Enter.


  Configure TCP/IP (If Not Already Configured)

  Network File System (NFS)

  Network Information Service (NIS)

  Network Information Service Plus (NIS+)

  Configure Secure NFS & NIS

  CacheFS

                               

F1=Help                      F2=Refresh                    F3=Cancel                     Esc+8=Image

                                                          NFS


Move cursor to desired item and press Enter.


F1=Help                      F2                                                          Esc+8=Image

                               lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk

F1=Help                      F2x                                                      x  Esc+8=Image

                               lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk

                                                                                       

F1=Help                      F2                                                          Esc+8=Image

                               lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk

F1=Help                      F2x                                                      x  Esc+8=Image

                               lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk

                                     Configure TCP/IP (If Not Already Configured)


Move cursor to desired item and press Enter.


  Minimum Configuration & Startup

  Further Configuration

  Use DHCP for TCPIP Configuration & Startup

  IPV6 Configuration

  Quality of Service Configuration & Startup

  Configure IP Security (IPv4)

  Configure IP Security (IPv6)

                               

F1=Help                      F2=Refresh                    F3=Cancel                     Esc+8=Image

                                     Configure TCP/IP (If Not Already Configured)


Move cursor to desired item and press Enter.


  Minimum Configuration & Startup

                                                          NFS 


Move cursor to desired item and press Enter.


  Configure TCP/IP (If Not Already Configured)

  Network File System (NFS)

  Network Information Service (NIS)

  Network Information Service Plus (NIS+)

  Configure Secure NFS & NIS

  CacheFS

  Proxy File System

                                                          NFS 


Move cursor to desired item and press Enter.


  Configure TCP/IP (If Not Already Configured)

F1=Help                      F2                                                          Esc+8=Image

                               lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk

F1=Help                      F2x                                                      x  Esc+8=Image

                               lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk

                                               Network File System (NFS)


Move cursor to desired item and press Enter.


  Configure NFS on This System

  Add a Directory to Exports List

  Change / Show Attributes of an Exported Directory

  Remove a Directory from Exports List

  Add a File System for Mounting

  Change / Show Attributes of an NFS File System

  Remove an NFS File System

  Flush NFS V4 Translation Cache

  Add NFSv4 File System FSID Options

  Change / Show NFSv4 File System FSID Options

                               

F1=Help                      F2=Refresh                    F3=Cancel                     Esc+8=Image

                                               Network File System (NFS)


Move cursor to desired item and press Enter.


F1=Help                      F2                                                          Esc+8=Image

                               lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk

F1=Help                      F2x                                                      x  Esc+8=Image

                               lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk

                                             Configure NFS on This System


Move cursor to desired item and press Enter.


  Start NFS

  Stop NFS

  Change Number of nfsd, biod, and lockd Daemons

  Change Version 4 Server Root Node

  Change Version 4 Server Public Node

  Start Automounter

  Stop Automounter

  Enable RPCSEC_GSS

  Disable RPCSEC_GSS

  Configure NFS Local Domain

  Configure NFS V4 Foreign Identity Mapping

  Configure Local Realm Mapping

  Configure NFS Default Security

  Change Version 4 Server Lease Time

  Configure Version 4 Replication

  Configure Version 4 Server Delegation

  Configure Version 4 Client Delegation

  Configure Version 4 Grace Period






                               

F1=Help                      F2=Refresh                    F3=Cancel                     Esc+8=Image

                                             Configure NFS on This System


Move cursor to desired item and press Enter.


  Start NFS

F1=Help                      F2                                                          Esc+8=Image

                               lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk

F1=Help                      F2x                                                      x  Esc+8=Image

                               lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk

                                                       Stop NFS


Type or select values in entry fields.

Press Enter AFTER making all desired changes.

  

                                                        [Entry Fields]

* STOP NFS now, system restart or both                now                                                           +

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  






F1=Help                      F2=Refresh                    F3=Cancel                     F4=List

Esc+5=Reset                  Esc+6=Command                 Esc+7=Edit                    Esc+8=Image

F1=Help                      F2                                                          F4=List

Esc+5=Reset                  Es                                                          Esc+8=Image

F1=Help                      F2lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk  F4=List

Esc+5=Reset                  Esx                                                      x  Esc+8=Image

F1=Help                      F2lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk  F4=List

                                                    COMMAND STATUS


Command: running       stdout: no            stderr: no


Before command completion, additional instructions may appear below.


                                                    COMMAND STATUS


Command: running       stdout: yes           stderr: no


Before command completion, additional instructions may appear below.


0513-044 The biod Subsystem was requested to stop.

0513-044 The nfsd Subsystem was requested to stop.

0513-044 The rpc.mountd Subsystem was requested to stop.

0513-044 The rpc.lockd Subsystem was requested to stop.

0513-044 The rpc.statd Subsystem was requested to stop.

0513-004 The Subsystem or Group, ypserv, is currently inoperative.

0513-004 The Subsystem or Group, ypbind, is currently inoperative.

0513-004 The Subsystem or Group, yppasswdd, is currently inoperative.

0513-004 The Subsystem or Group, ypupdated, is currently inoperative.

0513-004 The Subsystem or Group, keyserv, is currently inoperative.

0513-004 The Subsystem or Group, nfsrgyd, is currently inoperative.

0513-004 The Subsystem or Group, gssd, is currently inoperative.

                               lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk

                               x                                                      x

                               lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk

                                                    COMMAND STATUS


Command: OK            stdout: yes           stderr: no


Before command completion, additional instructions may appear below.


0513-044 The biod Subsystem was requested to stop.

0513-044 The nfsd Subsystem was requested to stop.

0513-044 The rpc.mountd Subsystem was requested to stop.

0513-044 The rpc.lockd Subsystem was requested to stop.

0513-044 The rpc.statd Subsystem was requested to stop.

0513-004 The Subsystem or Group, ypserv, is currently inoperative.

0513-004 The Subsystem or Group, ypbind, is currently inoperative.

0513-004 The Subsystem or Group, yppasswdd, is currently inoperative.

0513-004 The Subsystem or Group, ypupdated, is currently inoperative.

0513-004 The Subsystem or Group, keyserv, is currently inoperative.

0513-004 The Subsystem or Group, nfsrgyd, is currently inoperative.

F1=Help                      F2=Refresh                    F3=Cancel                     Esc+6=Command

Esc+8=Image                  Esc+9=Shell                   Esc+0=Exit                    /=Find

                                                    COMMAND STATUS


Command: OK            stdout: yes           stderr: no


Before command completion, additional instructions may appear below.


                                                       Stop NFS


Type or select values in entry fields.       

Press Enter AFTER making all desired changes.


                                                        [Entry Fields]

* STOP NFS now, system restart or both                now                                                           +











F1=Help                      F2=Refresh                    F3=Cancel                     F4=List

Esc+5=Reset                  Esc+6=Command                 Esc+7=Edit                    Esc+8=Image

                                             Configure NFS on This System


Move cursor to desired item and press Enter. 


  Start NFS

  Stop NFS                                              

  Change Number of nfsd, biod, and lockd Daemons      

  Change Version 4 Server Root Node

  Change Version 4 Server Public Node

  Start Automounter

  Stop Automounter

  Enable RPCSEC_GSS

  Disable RPCSEC_GSS

  Configure NFS Local Domain

  Configure NFS V4 Foreign Identity Mapping

  Configure Local Realm Mapping

  Configure NFS Default Security

  Change Version 4 Server Lease Time

  Configure Version 4 Replication

  Configure Version 4 Server Delegation

  Configure Version 4 Client Delegation

  Configure Version 4 Grace Period







                                             Configure NFS on This System


Move cursor to desired item and press Enter. 


  Start NFS

  Start NFS

F1=Help                      F2                                                          Esc+8=Image

                               lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk

F1=Help                      F2x                                                      x  Esc+8=Image

                               lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk

                                                       Start NFS


Type or select values in entry fields.

Press Enter AFTER making all desired changes.

  

                                                        [Entry Fields]

* START NFS now, on system restart or both            both                                                          +

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  






F1=Help                      F2=Refresh                    F3=Cancel                     F4=List

Esc+5=Reset                  Esc+6=Command                 Esc+7=Edit                    Esc+8=Image

F1=Help                      F2                                                          F4=List

Esc+5=Reset                  Es                                                          Esc+8=Image

F1=Help                      F2lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk  F4=List

Esc+5=Reset                  Esx                                                      x  Esc+8=Image

F1=Help                      F2lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk  F4=List

                                                    COMMAND STATUS


Command: running       stdout: no            stderr: no


Before command completion, additional instructions may appear below.


                                                    COMMAND STATUS


Command: running       stdout: yes           stderr: no


Before command completion, additional instructions may appear below.


0513-029 The portmap Subsystem is already active.

Multiple instances are not supported.

Starting NFS services:

exportfs: /export/spot1/spot1/usr: No such file or directory

exportfs: /export/lpp_source1/lpp_source1: No such file or directory

0513-059 The biod Subsystem has been started. Subsystem PID is 278564.

0513-059 The nfsd Subsystem has been started. Subsystem PID is 229528.

0513-059 The rpc.mountd Subsystem has been started. Subsystem PID is 409818.

0513-059 The rpc.statd Subsystem has been started. Subsystem PID is 241818.

0513-059 The rpc.lockd Subsystem has been started. Subsystem PID is 282784.

Completed NFS services.

0513-095 The request for subsystem refresh was completed successfully.

                               lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk

                               x                                                      x

                               lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk

                                                    COMMAND STATUS


Command: OK            stdout: yes           stderr: no


Before command completion, additional instructions may appear below.


0513-029 The portmap Subsystem is already active.

Multiple instances are not supported.

Starting NFS services:

exportfs: /export/spot1/spot1/usr: No such file or directory

exportfs: /export/lpp_source1/lpp_source1: No such file or directory

0513-059 The biod Subsystem has been started. Subsystem PID is 278564.

0513-059 The nfsd Subsystem has been started. Subsystem PID is 229528.

0513-059 The rpc.mountd Subsystem has been started. Subsystem PID is 409818.

0513-059 The rpc.statd Subsystem has been started. Subsystem PID is 241818.

0513-059 The rpc.lockd Subsystem has been started. Subsystem PID is 282784.

Completed NFS services.

F1=Help                      F2=Refresh                    F3=Cancel                     Esc+6=Command

Esc+8=Image                  Esc+9=Shell                   Esc+0=Exit                    /=Find

                                                    COMMAND STATUS


Command: OK            stdout: yes           stderr: no


Before command completion, additional instructions may appear below.


[root@aix193: /soft1]$ lssrc -a |grep nfs

 biod             nfs              278564       active

 nfsd             nfs              229528       active

 rpc.mountd       nfs              409818       active

 rpc.statd        nfs              241818       active

 rpc.lockd        nfs              282784       active

 nfsrgyd          nfs                           inoperative

 gssd             nfs                           inoperative

[root@aix193: /soft1]$ exportfs -av

exportfs: re-exported /tian

exportfs: /export/spot1/spot1/usr: No such file or directory

exportfs: /export/lpp_source1/lpp_source1: No such file or directory

exportfs: re-exported /export/nim/scripts/aix194.script

exportfs: re-exported /soft1

[root@aix193: /soft1]$ cat /etc/exports

/tian -sec=sys:krb5p:krb5i:krb5:dh,rw,root=aix194

/export/spot1/spot1/usr -ro,root=aix194:,access=aix194:

/export/lpp_source1/lpp_source1 -ro,root=aix194:,access=aix194:

/export/nim/scripts/aix194.script -ro,root=aix194:,access=aix194:

/soft1 -sec=sys:krb5p:krb5i:krb5:dh,rw


[root@aix193: /soft1]$ smit nfs

                                                          NFS


Move cursor to desired item and press Enter.


  Configure TCP/IP (If Not Already Configured)

  Network File System (NFS)

  Network Information Service (NIS)

  Network Information Service Plus (NIS+)

  Configure Secure NFS & NIS

  CacheFS

                               

F1=Help                      F2=Refresh                    F3=Cancel                     Esc+8=Image

                                                          NFS


Move cursor to desired item and press Enter.


  Configure TCP/IP (If Not Already Configured)

F1=Help                      F2                                                          Esc+8=Image

                               lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk

F1=Help                      F2x                                                      x  Esc+8=Image

                               lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk

                                               Network File System (NFS)


Move cursor to desired item and press Enter.


  Configure NFS on This System

  Add a Directory to Exports List

  Change / Show Attributes of an Exported Directory

  Remove a Directory from Exports List

  Add a File System for Mounting

  Change / Show Attributes of an NFS File System

  Remove an NFS File System

  Flush NFS V4 Translation Cache

  Add NFSv4 File System FSID Options

  Change / Show NFSv4 File System FSID Options

                               

F1=Help                      F2=Refresh                    F3=Cancel                     Esc+8=Image

                                               Network File System (NFS)


Move cursor to desired item and press Enter.


  Configure NFS on This System

F1=Help                      F2                                                          Esc+8=Image

                               lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk

F1=Help                      F2x                                                      x  Esc+8=Image

                               lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk

                                            Add a Directory to Exports List


Type or select values in entry fields.

Press Enter AFTER making all desired changes.

  

[TOP]                                                   [Entry Fields]

* Pathname of directory to export                    []                                                              /

  Anonymous UID                                      [-2]

  Public filesystem?                                  no                                                            +

* Export directory now, system restart or both        both                                                          +

  Pathname of alternate exports file                 []

  Allow access by NFS versions                       []                                                             +

  External name of directory (NFS V4 access only)    []

  Referral locations (NFS V4 access only)            []

  Replica locations                                  []

  Ensure primary hostname in replica list             yes                                                           +

  Allow delegations?                                  no                                                            +

  Scatter                                             none                                                          +

* Security method 1                                  [sys,krb5p,krb5i,krb5,dh]                                      +

*     Mode to export directory                        read-write                                                    +

      Hostname list. If exported read-mostly         []

      Hosts & netgroups allowed client access        []

      Hosts allowed root access                      []

  Security method 2                                  []                                                             +

      Mode to export directory                       []                                                             +

[MORE...18]


F1=Help                      F2=Refresh                    F3=Cancel                     F4=List

Esc+5=Reset                  Esc+6=Command                 Esc+7=Edit                    Esc+8=Image

* Pathname of directory to export                    [/soft1]                                                        /

  Anonymous UID                                      [-2]

  Public filesystem?                                  no                                                            +

* Export directory now, system restart or both        both                                                          +

  Pathname of alternate exports file                 []

  Allow access by NFS versions                       []                                                             +

  External name of directory (NFS V4 access only)    []

  Referral locations (NFS V4 access only)            []

  Replica locations                                  []

  Ensure primary hostname in replica list             yes                                                           +

  Allow delegations?                                  no                                                            +

  Scatter                                             none                                                          +

* Security method 1                                  [sys,krb5p,krb5i,krb5,dh]                                      +

*     Mode to export directory                        read-write                                                    +

      Hostname list. If exported read-mostly         [aix229]

      Hosts & netgroups allowed client access        [aix229]

F1=Help                      F2                                                          F4=List

Esc+5=Reset                  Es                                                          Esc+8=Image

F1=Help                      F2lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk  F4=List

Esc+5=Reset                  Esx                                                      x  Esc+8=Image

F1=Help                      F2lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk  F4=List

                                                    COMMAND STATUS


Command: running       stdout: no            stderr: no


Before command completion, additional instructions may appear below.


                               lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk

                               x                                                      x

                               lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk

                                                    COMMAND STATUS


Command: OK            stdout: no            stderr: no


F1=Help                      F2=Refresh                    F3=Cancel                     Esc+6=Command

Esc+8=Image                  Esc+9=Shell                   Esc+0=Exit                    /=Find

                                                    COMMAND STATUS


Command: OK            stdout: no            stderr: no


Before command completion, additional instructions may appear below.


[root@aix193: /soft1]$ smit nfs

                               lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk

                               x                                                      x

                               lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk

                                                                                       

                                                                                       

                               lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk

                               x                                                      x

                               lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk

                                                                                       

                                                                                       

                               lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk

                               x                                                      x

                               lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk

                                                                                       

                                                                                       

                               lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk

                               x                                                      x

                               lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk

                                                          NFS


Move cursor to desired item and press Enter.


  Configure TCP/IP (If Not Already Configured)

  Network File System (NFS)

  Network Information Service (NIS)

  Network Information Service Plus (NIS+)

  Configure Secure NFS & NIS

  CacheFS

                               

F1=Help                      F2=Refresh                    F3=Cancel                     Esc+8=Image

                                                          NFS


Move cursor to desired item and press Enter.


  Configure TCP/IP (If Not Already Configured)

F1=Help                      F2                                                          Esc+8=Image

                               lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk

F1=Help                      F2x                                                      x  Esc+8=Image

                               lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk

                                               Network File System (NFS)


Move cursor to desired item and press Enter.


  Configure NFS on This System

  Add a Directory to Exports List

  Change / Show Attributes of an Exported Directory

  Remove a Directory from Exports List

  Add a File System for Mounting

  Change / Show Attributes of an NFS File System

  Remove an NFS File System

  Flush NFS V4 Translation Cache

  Add NFSv4 File System FSID Options

  Change / Show NFSv4 File System FSID Options

                               

F1=Help                      F2=Refresh                    F3=Cancel                     Esc+8=Image

                                               Network File System (NFS)


Move cursor to desired item and press Enter.


F1=Help                      F2                                                          Esc+8=Image

                               lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk

F1=Help                      F2x                                                      x  Esc+8=Image

                               lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk

                                             Configure NFS on This System


Move cursor to desired item and press Enter.


  Start NFS

  Stop NFS

  Change Number of nfsd, biod, and lockd Daemons

  Change Version 4 Server Root Node

  Change Version 4 Server Public Node

  Start Automounter

  Stop Automounter

  Enable RPCSEC_GSS

  Disable RPCSEC_GSS

  Configure NFS Local Domain

  Configure NFS V4 Foreign Identity Mapping

  Configure Local Realm Mapping

  Configure NFS Default Security

  Change Version 4 Server Lease Time

  Configure Version 4 Replication

  Configure Version 4 Server Delegation

  Configure Version 4 Client Delegation

  Configure Version 4 Grace Period






                               

F1=Help                      F2=Refresh                    F3=Cancel                     Esc+8=Image

                                             Configure NFS on This System


Move cursor to desired item and press Enter.


  Start NFS

F1=Help                      F2                                                          Esc+8=Image

                               lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk

F1=Help                      F2x                                                      x  Esc+8=Image

                               lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk

                                                       Stop NFS


Type or select values in entry fields.

Press Enter AFTER making all desired changes.

  

                                                        [Entry Fields]

* STOP NFS now, system restart or both                now                                                           +

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  






F1=Help                      F2=Refresh                    F3=Cancel                     F4=List

Esc+5=Reset                  Esc+6=Command                 Esc+7=Edit                    Esc+8=Image

F1=Help                      F2                                                          F4=List

Esc+5=Reset                  Es                                                          Esc+8=Image

F1=Help                      F2lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk  F4=List

Esc+5=Reset                  Esx                                                      x  Esc+8=Image

F1=Help                      F2lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk  F4=List

                                                    COMMAND STATUS


Command: running       stdout: no            stderr: no


Before command completion, additional instructions may appear below.


                                                    COMMAND STATUS


Command: running       stdout: yes           stderr: no


Before command completion, additional instructions may appear below.


0513-004 The Subsystem or Group, biod, is currently inoperative.

0513-004 The Subsystem or Group, nfsd, is currently inoperative.

0513-004 The Subsystem or Group, rpc.mountd, is currently inoperative.

0513-004 The Subsystem or Group, rpc.lockd, is currently inoperative.

0513-004 The Subsystem or Group, rpc.statd, is currently inoperative.

0513-004 The Subsystem or Group, ypserv, is currently inoperative.

0513-004 The Subsystem or Group, ypbind, is currently inoperative.

0513-004 The Subsystem or Group, yppasswdd, is currently inoperative.

0513-004 The Subsystem or Group, ypupdated, is currently inoperative.

0513-004 The Subsystem or Group, keyserv, is currently inoperative.

0513-004 The Subsystem or Group, nfsrgyd, is currently inoperative.

0513-004 The Subsystem or Group, gssd, is currently inoperative.

                               lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk

                               x                                                      x

                               lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk

                                                    COMMAND STATUS


Command: OK            stdout: yes           stderr: no


Before command completion, additional instructions may appear below.


0513-004 The Subsystem or Group, biod, is currently inoperative.

0513-004 The Subsystem or Group, nfsd, is currently inoperative.

0513-004 The Subsystem or Group, rpc.mountd, is currently inoperative.

0513-004 The Subsystem or Group, rpc.lockd, is currently inoperative.

0513-004 The Subsystem or Group, rpc.statd, is currently inoperative.

0513-004 The Subsystem or Group, ypserv, is currently inoperative.

0513-004 The Subsystem or Group, ypbind, is currently inoperative.

0513-004 The Subsystem or Group, yppasswdd, is currently inoperative.

0513-004 The Subsystem or Group, ypupdated, is currently inoperative.

0513-004 The Subsystem or Group, keyserv, is currently inoperative.

0513-004 The Subsystem or Group, nfsrgyd, is currently inoperative.

F1=Help                      F2=Refresh                    F3=Cancel                     Esc+6=Command

Esc+8=Image                  Esc+9=Shell                   Esc+0=Exit                    /=Find

                                                    COMMAND STATUS


Command: OK            stdout: yes           stderr: no


Before command completion, additional instructions may appear below.


[root@aix193: /soft1]$ exportfs -av

exportfs: re-exported /tian

exportfs: /export/spot1/spot1/usr: No such file or directory

exportfs: /export/lpp_source1/lpp_source1: No such file or directory

exportfs: re-exported /export/nim/scripts/aix194.script

exportfs: re-exported /soft1

[root@aix193: /soft1]$ lssrc -a |grep nfs

 biod             nfs                           inoperative

 nfsd             nfs                           inoperative

 rpc.mountd       nfs                           inoperative

 nfsrgyd          nfs                           inoperative

 gssd             nfs                           inoperative

 rpc.lockd        nfs                           inoperative

 rpc.statd        nfs                           inoperative

[root@aix193: /soft1]$ smit nfs

                               lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk

                               x                                                      x

                               lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk

                                                                                       

                                                                                       

                               lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk

                               x                                                      x

                               lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk

                                                                                       

                                                                                       

                               lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk

                               x                                                      x

                               lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk

                                                                                       

                                                                                       

                               lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk

                               x                                                      x

                               lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk

                                                          NFS


Move cursor to desired item and press Enter.


  Configure TCP/IP (If Not Already Configured)

  Network File System (NFS)

  Network Information Service (NIS)

  Network Information Service Plus (NIS+)

  Configure Secure NFS & NIS

  CacheFS

                               

F1=Help                      F2=Refresh                    F3=Cancel                     Esc+8=Image

                                                          NFS


Move cursor to desired item and press Enter.


  Configure TCP/IP (If Not Already Configured)

F1=Help                      F2                                                          Esc+8=Image

                               lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk

F1=Help                      F2x                                                      x  Esc+8=Image

                               lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk

                                               Network File System (NFS)


Move cursor to desired item and press Enter.


  Configure NFS on This System

  Add a Directory to Exports List

  Change / Show Attributes of an Exported Directory

  Remove a Directory from Exports List

  Add a File System for Mounting

  Change / Show Attributes of an NFS File System

  Remove an NFS File System

  Flush NFS V4 Translation Cache

  Add NFSv4 File System FSID Options

  Change / Show NFSv4 File System FSID Options

                               

F1=Help                      F2=Refresh                    F3=Cancel                     Esc+8=Image

                                               Network File System (NFS)


Move cursor to desired item and press Enter.


F1=Help                      F2                                                          Esc+8=Image

                               lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk

F1=Help                      F2x                                                      x  Esc+8=Image

                               lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk

                                             Configure NFS on This System


Move cursor to desired item and press Enter.


  Start NFS

  Stop NFS

  Change Number of nfsd, biod, and lockd Daemons

  Change Version 4 Server Root Node

  Change Version 4 Server Public Node

  Start Automounter

  Stop Automounter

  Enable RPCSEC_GSS

  Disable RPCSEC_GSS

  Configure NFS Local Domain

  Configure NFS V4 Foreign Identity Mapping

  Configure Local Realm Mapping

  Configure NFS Default Security

  Change Version 4 Server Lease Time

  Configure Version 4 Replication

  Configure Version 4 Server Delegation

  Configure Version 4 Client Delegation

  Configure Version 4 Grace Period






                               

F1=Help                      F2=Refresh                    F3=Cancel                     Esc+8=Image

                                             Configure NFS on This System


Move cursor to desired item and press Enter.


F1=Help                      F2                                                          Esc+8=Image

                               lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk

F1=Help                      F2x                                                      x  Esc+8=Image

                               lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk

                                                       Start NFS


Type or select values in entry fields.

Press Enter AFTER making all desired changes.

  

                                                        [Entry Fields]

* START NFS now, on system restart or both            both                                                          +

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  






F1=Help                      F2=Refresh                    F3=Cancel                     F4=List

Esc+5=Reset                  Esc+6=Command                 Esc+7=Edit                    Esc+8=Image

F1=Help                      F2                                                          F4=List

Esc+5=Reset                  Es                                                          Esc+8=Image

F1=Help                      F2lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk  F4=List

Esc+5=Reset                  Esx                                                      x  Esc+8=Image

F1=Help                      F2lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk  F4=List

                                                    COMMAND STATUS


Command: running       stdout: no            stderr: no


Before command completion, additional instructions may appear below.


                                                    COMMAND STATUS


Command: running       stdout: yes           stderr: no


Before command completion, additional instructions may appear below.


0513-029 The portmap Subsystem is already active.

Multiple instances are not supported.

Starting NFS services:

exportfs: /export/spot1/spot1/usr: No such file or directory

exportfs: /export/lpp_source1/lpp_source1: No such file or directory

0513-059 The biod Subsystem has been started. Subsystem PID is 327704.

0513-059 The nfsd Subsystem has been started. Subsystem PID is 262376.

0513-059 The rpc.mountd Subsystem has been started. Subsystem PID is 282808.

0513-059 The rpc.statd Subsystem has been started. Subsystem PID is 409842.

0513-059 The rpc.lockd Subsystem has been started. Subsystem PID is 303190.

Completed NFS services.

0513-095 The request for subsystem refresh was completed successfully.

                               lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk

                               x                                                      x

                               lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk

                                                    COMMAND STATUS


Command: OK            stdout: yes           stderr: no


Before command completion, additional instructions may appear below.


0513-029 The portmap Subsystem is already active.

Multiple instances are not supported.

Starting NFS services:

exportfs: /export/spot1/spot1/usr: No such file or directory

exportfs: /export/lpp_source1/lpp_source1: No such file or directory

0513-059 The biod Subsystem has been started. Subsystem PID is 327704.

0513-059 The nfsd Subsystem has been started. Subsystem PID is 262376.

0513-059 The rpc.mountd Subsystem has been started. Subsystem PID is 282808.

0513-059 The rpc.statd Subsystem has been started. Subsystem PID is 409842.

0513-059 The rpc.lockd Subsystem has been started. Subsystem PID is 303190.

Completed NFS services.

F1=Help                      F2=Refresh                    F3=Cancel                     Esc+6=Command

Esc+8=Image                  Esc+9=Shell                   Esc+0=Exit                    /=Find

                                                    COMMAND STATUS


Command: OK            stdout: yes           stderr: no


Before command completion, additional instructions may appear below.


[root@aix193: /soft1]$ exportfs -av

exportfs: re-exported /tian

exportfs: /export/spot1/spot1/usr: No such file or directory

exportfs: /export/lpp_source1/lpp_source1: No such file or directory

exportfs: re-exported /export/nim/scripts/aix194.script

exportfs: re-exported /soft1

[root@aix193: /soft1]$ lssrc -a |grep nfs

 biod             nfs              327704       active

 nfsd             nfs              262376       active

 rpc.mountd       nfs              282808       active

 rpc.statd        nfs              409842       active

 rpc.lockd        nfs              303190       active

 nfsrgyd          nfs                           inoperative

 gssd             nfs                           inoperative

[root@aix193: /soft1]$ cat /etc/exports   

/tian -sec=sys:krb5p:krb5i:krb5:dh,rw,root=aix194

/export/spot1/spot1/usr -ro,root=aix194:,access=aix194:

/export/lpp_source1/lpp_source1 -ro,root=aix194:,access=aix194:

/export/nim/scripts/aix194.script -ro,root=aix194:,access=aix194:

/soft1 -sec=sys:krb5p:krb5i:krb5:dh,rw=aix229,access=aix229,root=aix229

[root@aix193: /soft1]$ ls

hello.txt  hi.txtt

[root@aix193: /soft1]$ cat hi.txtt 

hi

[root@aix229 /]#showmount -e 192.168.8.193

export list for 192.168.8.193:

/tian                             (everyone)

/export/nim/scripts/aix194.script aix194

/soft1                            (everyone)

[root@aix229 /]#showmount -e 192.168.8.193

export list for 192.168.8.193:

/tian                             (everyone)

/export/nim/scripts/aix194.script aix194

/soft1                            aix229

[root@aix229 /]#cd 

[root@aix229 /]#ls

.SPOT             admin             etc               opt               smit.transaction  u01

.bash_history     audit             home              pconsole          soft              unix

.rehots           bin               lib               proc              soft1             usr

.rhosts           data1             lost+found        sbin              tftpboot          var

.sh_history       dev               lpp               smit.log          tmp

.vi_history       esa               mnt               smit.script       u

[root@aix229 /]#mkdir ware

[root@aix229 /]#ls

.SPOT             admin             etc               opt               smit.transaction  u01

.bash_history     audit             home              pconsole          soft              unix

.rehots           bin               lib               proc              soft1             usr

.rhosts           data1             lost+found        sbin              tftpboot          var

.sh_history       dev               lpp               smit.log          tmp               ware

.vi_history       esa               mnt               smit.script       u

[root@aix229 /]#mount 192.168.8.193:/soft1 /ware

[root@aix229 /]#cd /ware

[root@aix229 ware]#ls

hello.txt

[root@aix229 ware]#echo hi > hi.txtt

[root@aix229 ware]#ls

hello.txt  hi.txtt

[root@aix229 ware]#cat hello.txt 

hello

[root@aix229 ware]#ls

hello.txt  hi.txtt

[root@aix229 ware]#rm hi.txtt 

[root@aix229 ware]#rm hello.txt 

showmount -e 192.168.8.193

mkdir /ware

Mount 192.168.8.193:/soft1 /ware

[root@aix195 /]#showmount -e 192.168.8.193

export list for 192.168.8.193:

/tian                             (everyone)

/export/nim/scripts/aix194.script aix194

/soft1                            aix229

[root@aix195 /]#cd 

[root@aix195 /]#ls   

.SPOT             .rhosts.prev      chlv.sh           lib               smit.log          unix

.TTauthority      .sh_history       chnet.sh          lost+found        smit.script       usr

.Xauthority       .vi_history       csminstall        lpp               smit.transaction  var

.bash_history     .wmrc             dat1              mkln.sh           soft              xin

.dt               Mail              dev               mklv.sh           soft1             xin1

.dtprofile        TT_DB             esa               mnt               tftpboot          xin2

.java             audit             etc               opt               tmp               xulaoban.txt

.mh_profile       bin               export            proc              u                 xz

.rhosts           cfmroot           home              sbin              u01

[root@aix195 /]#mkdir /ware

[root@aix195 /]#mount 192.168.8.193:/soft1 /ware

mount: access denied for 192.168.8.193:/soft1

mount: giving up on:

        192.168.8.193:/soft1

Permission denied

[root@aix195 /]#

[root@aix193: /soft1]$ ls

[root@aix193: /soft1]$ vi /etc/hosts.equiv 

# @(#)61        1.5  src/tcpip/etc/hosts.equiv, tcpip, tcpip530 9/27/91 17:11:34

# IBM_PROLOG_BEGIN_TAG

# This is an automatically generated prolog.

#

# tcpip530 src/tcpip/etc/hosts.equiv 1.5

#

# Licensed Materials - Property of IBM

#

# (C) COPYRIGHT International Business Machines Corp. 1985,1989

# All Rights Reserved

#

# US Government Users Restricted Rights - Use, duplication or

# disclosure restricted by GSA ADP Schedule Contract with IBM Corp.

#

# IBM_PROLOG_END_TAG

#

# COMPONENT_NAME: TCPIP hosts.equiv

#

# FUNCTIONS:

#

# ORIGINS: 26  27

#

# (C) COPYRIGHT International Business Machines Corp. 1985, 1989

# All Rights Reserved

# Licensed Materials - Property of IBM

#

# US Government Users Restricted Rights - Use, duplication or

# disclosure restricted by GSA ADP Schedule Contract with IBM Corp.

# @(#)61        1.5  src/tcpip/etc/hosts.equiv, tcpip, tcpip530 9/27/91 17:11:34

# IBM_PROLOG_BEGIN_TAG

# This is an automatically generated prolog.

#

# tcpip530 src/tcpip/etc/hosts.equiv 1.5

#

# Licensed Materials - Property of IBM

#

# (C) COPYRIGHT International Business Machines Corp. 1985,1989

# All Rights Reserved

#

# US Government Users Restricted Rights - Use, duplication or

# disclosure restricted by GSA ADP Schedule Contract with IBM Corp.

#

# IBM_PROLOG_END_TAG

#

# COMPONENT_NAME: TCPIP hosts.equiv

#

# FUNCTIONS:

#

# ORIGINS: 26  27

#

# (C) COPYRIGHT International Business Machines Corp. 1985, 1989

# All Rights Reserved

# Licensed Materials - Property of IBM

#

# US Government Users Restricted Rights - Use, duplication or

# disclosure restricted by GSA ADP Schedule Contract with IBM Corp.

#


#  /etc/hosts.equiv


#


# This file, along with a local user's $HOME/.rhosts file, defines which


# users on foreign hosts are permitted to remotely execute commands on


# your host.  The rshd, rlogind, lpd, and srcmstr programs all use this


# file to determine remote user access.


#


# The format of this file is as follows:


#


# hostname [username]


#


# Both hostname and username can be preceded by a '-' character to deny


# access.  A '+' character can be used in place of hostname or username


# to match any host or user.  If you are using NIS, both the hostname and


# username may be in the form:


#


# +@netgroup


# -@netgroup


#


# where "netgroup" is an NIS netgroup defined in the netgroup map.  The


# '+' form allows access to any host or user in the netgroup, while the


# '-' form denies access to any host or user in the netgroup.


#


# Lines beginning with a '#' character and blank lines are ignored.


#


# Examples:


#


# host user             allows access to user on host


# + user                allows access to user on any host


# host -user            denies access to user on host


# -host                 denies access to all users on host


# -@group               denies access to all users on hosts in group


# +@group1 +@group2     allows access to users in group2 on hosts in group1




aix193                  root


aix217                  root


aix193                  oracle


aix217                  oracle


aix299                  root

aix299                  root

aix229                  root

"/etc/hosts.equiv" 69 lines, 2230 characters 

[root@aix193: /soft1]$ vi .rhosts


~


~

:q!

[root@aix193: /soft1]$ cd 

[root@aix193: /]$ vi .rhosts

aix193                  root

aix217                  root

~


aix193                  root

aix217                  root

aix229                  root

".rhosts" 3 lines, 87 characters 

                                                                          *


# IBM_PROLOG_END_TAG

#

# COMPONENT_NAME: (CMDSH) Shell related commands

#

# FUNCTIONS:

#

# ORIGINS: 3, 26, 27

#

# (C) COPYRIGHT International Business Machines Corp. 1989, 1994

# All Rights Reserved

# Licensed Materials - Property of IBM

#

# US Government Users Restricted Rights - Use, duplication or

# disclosure restricted by GSA ADP Schedule Contract with IBM Corp.

# @(#)27        1.20  src/bos/etc/profile/profile, cmdsh, bos530 8/9/94 12:01:38

# IBM_PROLOG_BEGIN_TAG

# This is an automatically generated prolog.

#

# bos530 src/bos/etc/profile/profile 1.20

#

# Licensed Materials - Property of IBM

#

# (C) COPYRIGHT International Business Machines Corp. 1989,1994

# All Rights Reserved

#

# US Government Users Restricted Rights - Use, duplication or

# disclosure restricted by GSA ADP Schedule Contract with IBM Corp.

#

# IBM_PROLOG_END_TAG

#

# COMPONENT_NAME: (CMDSH) Shell related commands

#

# FUNCTIONS:

#

# ORIGINS: 3, 26, 27

#

# (C) COPYRIGHT International Business Machines Corp. 1989, 1994

# All Rights Reserved

# Licensed Materials - Property of IBM

#

# US Government Users Restricted Rights - Use, duplication or

# disclosure restricted by GSA ADP Schedule Contract with IBM Corp.

#


################################################################




# System wide profile.  All variables set here may be overridden by


# a user's personal .profile file in their $HOME directory.  However,


# all commands here will be executed at login regardless.




trap "" 1 2 3


readonly LOGNAME




# Automatic logout, include in export line if uncommented


# TMOUT=120




# The MAILMSG will be printed by the shell every MAILCHECK seconds


# (default 600) if there is mail in the MAIL system mailbox.


MAIL=/usr/spool/mail/$LOGNAME


MAILMSG="[YOU HAVE NEW MAIL]"




# If termdef command returns terminal type (i.e. a non NULL value),


# set TERM to the returned value, else set TERM to default lft.


TERM_DEFAULT=lft


TERM=`termdef`


TERM=${TERM:-$TERM_DEFAULT}




# If LC_MESSAGES is set to "C@lft" and TERM is not set to "lft",


# unset LC_MESSAGES.


if [ "$LC_MESSAGES" = "C@lft" -a "$TERM" != "lft" ]


then


        unset LC_MESSAGES


fi




export LOGNAME MAIL MAILMSG TERM




trap 1 2 3


export PATH=$PATH:/u01/crs_1/bin


export TERM=vt100


export EDITOR=vi


export PS1='[\u@\h \W]\$'

"/etc/profile" 66 lines, 1895 characters 

 

[root@aix193: /]$ cd /soft

[root@aix193: /soft]$ ls

soft1

[root@aix193: /soft]$ rm -rf soft1

[root@aix193: /soft]$ ls

[root@aix193: /soft]$ cd /soft1

[root@aix193: /soft1]$ ls


[root@aix193: /u01]$ su - oracle

-bash: /home/oracle/.profile: Permission denied

[oracle@aix193 ~]$su - oracle

oracle's Password:

Cannot su to "oracle" : Authentication is denied.

[oracle@aix193 ~]$su - root

root's Password:

Cannot su to "root" : Authentication is denied.

[oracle@aix193 ~]$su - root

root's Password:

[root@aix193: /]$ su - oracle

-bash: /home/oracle/.profile: Permission denied

[oracle@aix193 ~]$vi .profile 

"/var/tmp" No such file or directory


[oracle@aix193 ~]$cd 

[oracle@aix193 ~]$vi .profile 

"/var/tmp" No such file or directory


[oracle@aix193 ~]$cd /var/tmp

-bash: cd: /var/tmp: No such file or directory

[oracle@aix193 ~]$cd /var     

[oracle@aix193 var]$ls

[oracle@aix193 var]$vi .profile

"/var/tmp" No such file or directory


[oracle@aix193 var]$su - root

root's Password:

[root@aix193: /]$ cat /etc/passwd

root:!:0:0::/:/usr/bin/bash

daemon:!:1:1::/etc:

bin:!:2:2::/bin:

sys:!:3:3::/usr/sys:

adm:!:4:4::/var/adm:

uucp:!:5:5::/usr/lib/uucp:

guest:!:100:100::/home/guest:

nobody:!:4294967294:4294967294::/:

lpd:!:9:4294967294::/:

lp:*:11:11::/var/spool/lp:/bin/false

snapp:*:200:12:snapp login user:/usr/sbin/snapp:/usr/sbin/snappd

nuucp:*:6:5:uucp login user:/var/spool/uucppublic:/usr/sbin/uucp/uucico

invscout:*:7:13::/var/adm/invscout:/usr/bin/ksh

ipsec:*:201:1::/etc/ipsec:/usr/bin/ksh

radiusd:*:203:204::/home/radiusd:/usr/bin/ksh

esaadmin:*:8:0::/var/esa:/usr/bin/ksh

tian:*:204:1::/home/tian:/usr/bin/ksh

oracle:*:300:300::/home/oracle:/usr/bin/bash

[root@aix193: /]$ vi .profile 

"/var/tmp" No such file or directory

/etc/hosts.equiv


#


# This file, along with a local user's $HOME/.rhosts file, defines which


# users on foreign hosts are permitted to remotely execute commands on


# your host.  The rshd, rlogind, lpd, and srcmstr programs all use this


# file to determine remote user access.


#


# The format of this file is as follows:


#


# hostname [username]


#


# Both hostname and username can be preceded by a '-' character to deny


# access.  A '+' character can be used in place of hostname or username


# to match any host or user.  If you are using NIS, both the hostname and


# username may be in the form:


#


# +@netgroup


# -@netgroup


#


# where "netgroup" is an NIS netgroup defined in the netgroup map.  The


# '+' form allows access to any host or user in the netgroup, while the


# '-' form denies access to any host or user in the netgroup.


#


# Lines beginning with a '#' character and blank lines are ignored.


#


# Examples:


#


# host user             allows access to user on host


# + user                allows access to user on any host


# host -user            denies access to user on host


# -host                 denies access to all users on host


# -@group               denies access to all users on hosts in group


# +@group1 +@group2     allows access to users in group2 on hosts in group1


aix230          root


aix229          root




aix230  oracle


aix229  oracle


aix193  oracle


aix193  root

"/etc/hosts.equiv" 69 lines, 2133 characters 

[root@aix229 ware]#cd 

[root@aix229 /]#vi .rhosts

aix229   root

aix230   root

~

~

~

~

~

~

~

~

~

~

~

~

~

~

~

~

~

~

~

~

~

~

~

~

~

~

aix229   root

aix230   root

".rhosts" 3 lines, 42 characters 

[root@aix229 /]#vi /etc/hosts

# @(#)47        1.2  src/bos/usr/sbin/netstart/hosts, cmdnet, bos61B, b2007_45A8 10/1/07 13:57

:52

# IBM_PROLOG_BEGIN_TAG

# This is an automatically generated prolog.

#

# bos61B src/bos/usr/sbin/netstart/hosts 1.2

#

# Licensed Materials - Property of IBM

#

# COPYRIGHT International Business Machines Corp. 1985,1989

# All Rights Reserved

#

# US Government Users Restricted Rights - Use, duplication or

# disclosure restricted by GSA ADP Schedule Contract with IBM Corp.

#

# IBM_PROLOG_END_TAG

#

# COMPONENT_NAME: TCPIP hosts

#

# FUNCTIONS: loopback

#

# ORIGINS: 26  27

#

# (C) COPYRIGHT International Business Machines Corp. 1985, 1989

# All Rights Reserved

# Licensed Materials - Property of IBM

#

# US Government Users Restricted Rights - Use, duplication or

# @(#)47        1.2  src/bos/usr/sbin/netstart/hosts, cmdnet, bos61B, b2007_45A8 10/1/07 13:57

:52

# IBM_PROLOG_BEGIN_TAG

# This is an automatically generated prolog.

#

# bos61B src/bos/usr/sbin/netstart/hosts 1.2

#

# Licensed Materials - Property of IBM

#

# COPYRIGHT International Business Machines Corp. 1985,1989

# All Rights Reserved

#

# US Government Users Restricted Rights - Use, duplication or

# disclosure restricted by GSA ADP Schedule Contract with IBM Corp.

#

# IBM_PROLOG_END_TAG

#

# COMPONENT_NAME: TCPIP hosts

#

# FUNCTIONS: loopback

#

# ORIGINS: 26  27

#

# (C) COPYRIGHT International Business Machines Corp. 1985, 1989

# All Rights Reserved

# Licensed Materials - Property of IBM

#

# US Government Users Restricted Rights - Use, duplication or

# disclosure restricted by GSA ADP Schedule Contract with IBM Corp.


#


#  /etc/hosts


#


# This file contains the hostnames and their address for hosts in the


# network.  This file is used to resolve a hostname into an Internet


# address.


#


# At minimum, this file must contain the name and address for each


# device defined for TCP in your /etc/net file.  It may also contain


# entries for well-known (reserved) names such as timeserver


# and printserver as well as any other host name and address.


#


# The format of this file is:


# Internet Address      Hostname        # Comments


# Internet Address can be either IPv4 or IPv6 address.


# Items are separated by any number of blanks and/or tabs.  A '#'


# indicates the beginning of a comment; characters up to the end of the


# line are not interpreted by routines which search this file.  Blank


# lines are allowed.




# Internet Address      Hostname        # Comments


# 192.9.200.1           net0sample      # ethernet name/address


# 128.100.0.1           token0sample    # token ring name/address


# 10.2.0.2              x25sample       # x.25 name/address


# 2000:1:1:1:209:6bff:feee:2b7f         ipv6sample      # ipv6 name/address


127.0.0.1               loopback localhost      # loopback (lo0) name/address


192.168.8.229   aix229


192.168.8.230   aix230


192.168.8.193   aix193

"/etc/hosts" 57 lines, 2012 characters 

[root@aix229 /]#rlogin aix193 -l root

*******************************************************************************

*                                                                             *

*                                                                             *

*  Welcome to AIX Version 5.3!                                                *

*                                                                             *

*                                                                             *

*  Please see the README file in /usr/lpp/bos for information pertinent to    *

*  this release of the AIX Operating System.                                  *

*                                                                             *

*                                                                             *

*******************************************************************************

Last unsuccessful login: Tue May 24 17:30:08 2016 on /dev/pts/0 from 192.168.8.134

Last login: Fri May 27 14:45:58 2016 on /dev/pts/1 from 192.168.8.135


[root@aix193: /]$ exit

logout

Connection closed.


作者:yiren 分类:学员作业 浏览:329 评论:0
留言列表
发表评论
来宾的头像

点击关闭
  • 在线客服