Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

user - Specify user ID on remote host

&pagelevel(4)&pagelevel

You can use the user command to enter the admission data at a later stage in the following cases:

  • If an access control mechanism is implemented on the remote host.

  • Task switch 1 is not set or the storage of error information (commands jvar, svar) is enabled.

  • The required admission data was incorrectly entered in the open command.

user

[<userid> [password> [<account>]]]


<userid>

User ID on the remote host.

<password>

Password on the remote host.
Passwords are specified in accordance with the conventions of the partner system. For BS2000 partners, they may be specified as C-strings (c'...' or C'...') or as hexadecimal numbers (X'...', with X always uppercase). BS2000 accepts the password in the formats <password> and <'password'>. If no password is required, enter "*NONE".

<account>

Account number on the remote host.

If any additional authorization data is required (password, account number), it is requested in interactive mode.


Example

The remote host is a Linux host.

  1. Setting up a connection to systemd using the open command.

    open systemd 
    Connected to systemd. 
    220 systemd FTP Server (vsFTPd 2.0.5).
    
  2. Selection of the login ID tcptest.

    Name (systemd:TCPTEST):
    tcptest
    
  3. Entry of an invalid password.

    331 Password required for tcptest. 
    Password (systemd:tcptest): 
    maewest 
    530 Login failed. 
    Login failed.
    
  4. Repetition of the login.

    user tcptest
    
  5. Specification of the correct password; successful login.

    331 Password required for tcptest. 
    Password: 
    Kr!fm3(z
    230 Login successful.