Click to See Complete Forum and Search --> : Changing Defaults and .profile


spokk
10-31-2001, 01:26 PM
I'm running RedHat7.1 and I was hoping someone out there could help me with a few things:

I'd like to use ksh but it doesn't come with the distro (although some ksh clones are available)...can I get it from somewhere and use it? Is there anyplace that provides a how-to for setting it up?

If not, I can use one of the clones. But, how do I change my default shell?

I'm used to having a .profile that I can modify, but I don't find one in my install. Is it possible to create one and have it be used on startup, or is there some RedHat equivalent? Again, any how-to's for setting up the .profile equivalent?

bdg1983
10-31-2001, 07:07 PM
Check your Redhat cd's to see if they include ksh. If not, then try a Google search.

Most distros have gui user admin tools where you can change their default shell or you can modify /etc/passwd and change the shell there.

root:x:0:0:root:/root:/bin/bash

change to

root:x:0:0:root:/root:/bin/ksh (or whatever it should be)