|
"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 thatshould
get rid of the "is not an identifier" error. Add the following line tothe
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 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.