1752761 Members
5081 Online
108789 Solutions
New Discussion юеВ

Re: Which Shell

 
SOLVED
Go to solution
Manish PATHAK_2
Regular Advisor

Re: Which Shell

Hi,

Can you post this new compiled bash version so that others can also test it.

Br
Manish
Markus Waldorf_1
Regular Advisor

Re: Which Shell

Apart from other concerns, are you sure I would not cause a conflict of interests by posting binaries that are part of a package?

I used 5.1B patchkit 5, download bash-3.2.tar.gz from http://ftp.gnu.org/gnu/bash/

#gunzip bash-3.2.tar.gz
#tar xf bash-3.2.tar
#cd bash-3.2
#./configure
#./make
#./make test
#./make install

It worked flawless. Have you tried?

The last make installed the bash binaries in /usr/local/bin, and also installed the man pages.
Sinisa Radas
New Member

Re: Which Shell

Hello all,

I don't have too much experience in HP-UX, but when I changed shell in /etc/passwd file to BASH for some user, that user cannot FTP to the system. Reading ftpd manual, I noticed this is because BASH is not in the list of standard shells. Also visible through SAM in user management, where are several shells to change, but no BASH. Now, since BASH is really easy to use and most of my users like it, is it some list where I can add BASH as standard shell, so system will recognize it like so?

Thank you
Hein van den Heuvel
Honored Contributor

Re: Which Shell

Sinisa,

Welcome to the HPUX Tru64 Forum.

Good job on searching a prior discussion, but you ended up in the wrong forum.

Also, 'hijacking' an old discussion for your own, maybe not completely related discussion is frowned discouraged.

Markus,
You may want to close this thread.

Regards,
Hein.
Markus Waldorf_1
Regular Advisor

Re: Which Shell

will standardize on bash.
Steven Schweda
Honored Contributor

Re: Which Shell

Re: shells

On HP-UX, "man ftpd" says:

[...]
+ The user must have a standard shell returned by
getusershell().
[...]

and "man getusershell" says that
getusershell():

Returns a pointer to the first legal user
shell as defined in the file /etc/shells (see
shells(4)). [...]

A little editing of "/etc/shells" should
solve that problem.

And a new thread in the right forum would be
a good idea, too.