Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

bash not available in chsh list 1

Status
Not open for further replies.

yiannos

IS-IT--Management
Oct 23, 2003
5
GR
Hi all,

I have installed bash shell through IBM's downloaded RPM file using SMItty. Though the Shell is working when I call as in:

prompt>bash
bash-2.05a#

I cannot see it in the list when I chsh in order to change a user's shell?

Have I done something wrong in the installation or otherwise?

TIA

Yiannos
 
You need to add the path to bash in /etc/shells. You may have to boot the system for it to recognize the additional shell.
 
Bi,

1st of all thanks for your reply.

I did what u said - edited /etc/shells, put bash in there (full path) and did a reboot during the weekend. Still, bash does not come up in a chsh list.

Any ideas?

P.S. The path for bash is correct in /etc/shells

TIA

Yiannos
 
SUCCESS!

You were absolutely right. I did the change and it worked.

Just for the tidiness of things: does the edit of the /etc/shells have to be there too? Or should I re-edit it to its original form?

Thanks for everything

Yiannos
 
AIX doesn't use /etc/shells that I know of.

I believe it is there for to keep the BSD-style intact, much the same way you could forgo errlogging and use the BSD method, if you wanted to.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top