On Wed, Jul 30, 2003, Bernd Dammann wrote:
> The bootstrap process adds "/lib/openpkg/bash" to /etc/shells,
> without checking if this files exists or not.  Since there is default
> /etc/shells under Solaris 9, the file gets created with a single line
> only, rendering the system useless to e.g. login by other users than
> root (provided the login procedure does check /etc/shells, but XDM and
> ftp do!).
> 
Hello Bernd,

I believe that something has gone wrong during your OpenPKG bootstrap.
It should indeed create or append the local OpenPKG bash path to /etc/shells,
however the path should be valid. For example, if you bootstrap using
--prefix=/cw then the entry in /etc/shells should be /cw/lib/openpkg/bash.

In your case the prefix '/cw/' (or whatever you chose when bootstrapping) was
truncated, and this is actually the problem to fix. To troubleshoot this, run
the bootstrap again and capture the scrolling text using 'tee' or 'script'.
Search for a line something like:

  echo /cw/lib/openpkg/bash >>/etc/shells

and let me know what you see there. Good luck.

Michael

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to