[NEWSboard IBMi Forum]

Hybrid View

  1. #1
    Registriert seit
    May 2002
    Beiträge
    2.643
    Hallo,
    ich vermute dies kann helfen:

    9.11 Using Credentials from a netrc File

    To enable the usage of a .netrc file (Linux and Mac) or a _netrc file (Windows), go to the IBM i Access Client Solutions main GUI and from the menu bar, select
    Edit->Preferences
    General tab
    Check the box: Read netrc file for login information
    Click the Apply button
    Restart IBM i Access Client Solutions

    The standard format of a netrc file is:

    machine <system> login <user-id> password <password>

    The netrc file must be stored in the user's home directory and the system name and user-id must match System Configurations. From IBM i Access Client Solutions:
    Select System Configurations
    Select and then Edit the system
    Connections tab
    Select Use default user name to prompt once for each system
    Fill in the user-id for: Default user name
    Select OK

    When the system name and Default user name match the contents of the netrc file, a connection to the system will be made using the password from the netrc file without prompting the user.

  2. #2
    Registriert seit
    Nov 2004
    Beiträge
    331
    Moin,

    @TARASIK

    kannst Du mir sagen wo man diese Datei findet, bzw. wo diese gespeichert werden muss?

    mfg

    DKSPROI

  3. #3
    Registriert seit
    May 2013
    Beiträge
    8
    Folgendes in eine .bat geben:

    ECHO OFF
    SET /P _machine=Bitte Maschinenname eingeben:
    SET /P _user=Bitte Benutzer fuer das System eingeben:
    SET /P _password=Bitte Passwort fuer das ungarische System eingeben:
    echo machine %_machine% login %_user% password %_password% > %USERPROFILE%\_netrc
    attrib %USERPROFILE%\_netrc +h


    Scheint so zu funktionieren vielen lieben Dank!!!!

Similar Threads

  1. Antworten: 1
    Letzter Beitrag: 31-08-16, 18:34
  2. Antworten: 12
    Letzter Beitrag: 15-04-16, 21:06
  3. IBM i Access Client Solutions
    By stefan24 in forum IBM i Hauptforum
    Antworten: 11
    Letzter Beitrag: 06-01-16, 13:47
  4. Client Access
    By Charly_t in forum NEWSboard Server Software
    Antworten: 1
    Letzter Beitrag: 06-09-02, 12:59
  5. Client Access
    By Herbert Schmidt in forum IBM i Hauptforum
    Antworten: 8
    Letzter Beitrag: 14-08-01, 11:48

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • You may not post attachments
  • You may not edit your posts
  •