× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Thanks! I've updated my script to exec bash instead of just bash.

This is great stuff for the wiki!

On Fri, Jul 8, 2016 at 11:55 AM, Kevin Adler <kadler@xxxxxxxxxx> wrote:

"OpenSource" <opensource-bounces@xxxxxxxxxxxx> wrote on 07/07/2016
08:07:47 AM:

Note you can default to bash at the system level and I believe that
should
get rid of the "is not an identifier" error. Add the following line to
the
end of stream file /QOpenSys/QIBM/ProdData/SC1/OpenSSH/etc/sshd_config

ibmpaseforishell=/QOpenSys/QIBM/ProdData/OPS/tools/bin/bash

Then stop/start *SSHD server.


FYI, better would be to just exec bash from the /QOpenSys/etc/profile.
You'll want to exec it, since that way it replaces the current process
(one fewer job running) and you don't have to exit twice.

Since the ibmpaseforishell hack is going away at some point, the fewer
people that know about it, the better. Better things are on the horizon.

--
This is the IBMi Open Source Roundtable (OpenSource) mailing list
To post a message email: OpenSource@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/opensource
or email: OpenSource-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/opensource.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.