z/OS Network File System Guide and Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Mvslogin command examples

z/OS Network File System Guide and Reference
SC23-6883-00

Use the mvslogin command to log in to the remote z/OS system. The mvslogin command can be issued multiple times and the last one overrides the previous one. The mvslogin command is only required when accessing data on systems where the NFS server site security attribute is set to saf or safexp.

Table 1 shows examples of the mvslogin command where mvshost1 is the name of the z/OS host and smith is the user’s ID on z/OS.

Table 1. Examples of the mvslogin command for clients
Command Examples
mvslogin -p mvshost1 smith
mvslogin -P smithspw -g finance -a 5278 mvshost1 smith
mvslogin -P "Smith's password phrase" mvshost1 smith
mvslogin -n mvshost1 smith
mvslogin -pn -a 5278 mvshost1 smith
mvslogin mvshost1
mvslogin mvshost1 smith

In the example where the user enters mvslogin mvshost1, the current login client user ID is used as the z/OS user ID.

In the example where the user enters mvslogin mvshost1 smith, the system then prompts for Smith's z/OS password. If Smith logs in successfully, this message displays.

GFSA955I smith logged in ok.       
Otherwise, an appropriate error message displays.
Note: Messages that start with GFSA and GFSC apply to NFS requests. See Network File System messages.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014