You can set variables with the set command. set +o variable sets the variable and set -o variable resets it again. Following is a list of variables you might want to set:
ignoreeof Ignores the CTRL-D sequence originally used to logout of a shell.noclobber Prevents files from being overwritte when redirecting output to them.noglob Turns of special character treatment in the shell. E.g. files like "abc*" normally have to be addressed using an escape: "abc\*". Noglobbing disables this and lets you use "abc*" instead.
A complete list of the variables can be found in bash(1) under the -o option. I recommend setting the following:
vi you need to get used to it, but you will love it! I DO!
$pager tells which pager to use (e.g. less)
/etc/system & /etc/default
These two files present possibilites to set default behaviours of a system.
If you want to prevent the users from executing the chown-command, you add:
set rstchown=0
to the /etc/system file. The drawback of this approach is that the server needs to be restarted after this change.