Re: auto-signon
Scott Klement <[email protected]> Tue, 03 Mar 2015 14:13:17 -0600
| Newsgroups | gmane.comp.emulators.tn5250 |
|---|---|
| Message-ID | <[email protected]> |
Hi Bart,
Unfortunately, I'm not familiar with Raspberry Pi at all. But, I can
tell you that if you wanted to do auto sign-on in a Linux system, you'd
create a config file (rc file.)
This could be a per-user file in $HOME/.tn5250rc
Or, it could be in the global location of /etc/tn5250rc or
/usr/local/etc/tn5250rc (depending on whether your platform usually uses
/etc or /usr/local/etc for it's config files)
In the file you'd do something like:
myprofile {
host = yoursystem.example.com
env.USER=YOUR-USERID
env.IBMSUBSPW=YOURPASSWORD
}
Then you'd invoke tn5250 like this:
tn5250 myprofile
And it will send the userid/password from that profile and automatically
sign the user in. There are additional variables that can be sent along
with that:
env.IBMCURLIB=yourlib
env.IBMIMENU=yourmenu
env.IBMPROGRAM=yourprogram
Of course, some system administrators will disable the ability to use
these variables (on the server-side) for security purposes, so you'll
have to find out if these are allowed.
To learn about more of the options available, you might want to take a
look at the man page for tn5250 that should've been installed along with
the emulator.
Hope that helps...
On 3/3/2015 1:45 PM, Bart Hoen wrote:
> Hi Scott,
> basically auto-signon is what I'm looking for right now, yes. While I'm at it I would like to explore other options as well though.
> I'm running a raspbian (debian wheezy) on a raspberry pi
> Bart
>
>
>> Date: Tue, 3 Mar 2015 13:25:04 -0600
>> From: [email protected]
>> To: linux5250-Zwy7GipZuJhWk0Htik3J/[email protected]
>> Subject: Re: [LINUX5250] auto-signon
>>
>> hi Bart,
>>
>> Unfortunately, I don't have a copy of the HOWTO. Maybe James Rich has
>> one?
>>
>> Are you just looking to auto-signon? This can be done easily by setting
>> up some appropriate settings in the RC file. What operating system are
>> you running tn5250 on?
>>
>> -SK
>>
>>
>> On 3/3/2015 12:47 PM, Bart Hoen wrote:
>>> Hello,
>>> I am looking for a way to configure tn5250 to auto-signon on my RPi but cannot find a copy of the pdf file HOWTO ?
>>> Is it possible to obtain a pdf copy by mail ?
>>> Thanks,Bart
>>>
>> --
>> This is the Linux 5250 Development Project (LINUX5250) mailing list
>> To post a message email: LINUX5250-Zwy7GipZuJhWk0Htik3J/[email protected]
>> To subscribe, unsubscribe, or change list options,
>> visit: http://lists.midrange.com/mailman/listinfo/linux5250
>> or email: LINUX5250-request-Zwy7GipZuJhWk0Htik3J/[email protected]
>> Before posting, please take a moment to review the archives
>> at http://archive.midrange.com/linux5250.
>>
>
>
--
This is the Linux 5250 Development Project (LINUX5250) mailing list
To post a message email: LINUX5250-Zwy7GipZuJhWk0Htik3J/[email protected]
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/linux5250
or email: LINUX5250-request-Zwy7GipZuJhWk0Htik3J/[email protected]
Before posting, please take a moment to review the archives
at http://archive.midrange.com/linux5250.