On Fri, 24 Aug 2001, Manish Jethani wrote:
you use rbash, since cd is not allowed. The user can also not change preset environment variables, so set anything that you don't want them to change. Do all this in the .bash_profile
Does that also mean that .bash_profile should be owned and readable by root? Otherwise the user can edit it, na?
It depends. If you don't give the user access to editors, he can't edit anyway. output redirection is not allowed. Making it owned by root is a good idea.
Philip