Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

At my old job we had a Ubuntu 8.04 server that we SSH into. The shell was very limited (no bash history, can not tab predict commands, etc). Is there a config file to do things like that?

share|improve this question
possible duplicate of How to restrict the users' shell allowing to execute shell programs – MikeyB Sep 27 '11 at 20:49
I don't care about executing shell programs, I care about the shell environment. – Frank Sep 27 '11 at 21:05
From what you describe, the shell was /bin/sh (intended for script execution) rather than the more usual /bin/bash (intended for both script execution and interactive use). MikeyB's answer tells you how to change a user's shell to /bin/sh, but why would you want to? What do you hope to achieve? – Gilles Sep 27 '11 at 21:38

You're just trying to remove features? Change the shell using chsh and use /bin/sh instead of bash.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.