Click to See Complete Forum and Search --> : How do I change shells?


eXtremist
03-16-2001, 09:44 AM
Does the sysadmin have to change my shell or can I myself? The university's computers default to ksh, and I'd rather use bash. Normally I have to log in, then from ksh type bash.. Does anyone know how I could change this so it automatically defaults to bash?

mrBen
03-16-2001, 09:49 AM
Not entirely sure. Your default shell is defined within your user id, which I think you are allowed to change. Alternatively, you could also write a small startup script that automagically changes it when you login in.

HTH

bdg1983
03-16-2001, 09:51 AM
You can change the shell with chsh and you can do it as a normal user.

ep0k
03-16-2001, 10:08 AM
NGene is right chsh will work...

type "chsh /bin/bash"

eXtremist
03-16-2001, 10:09 AM
Hrmm.. Well, thanks for the info, unfortunately it didn't work. Damn university computers.. They think we're all a bunch of hackers.. We're not allowed to do anything..
Anyways, here's what came up:

bit% chsh
Changing shell for gbaker.
Password:
New shell [/bin/ksh]: /bin/bash
setpwnam: Permission denied
Shell *NOT* changed. Try again later.

Kadesh
03-16-2001, 10:23 AM
Ugh same here. After bash, tcsh seems like the stone age. I hate it.

As for stupid security measures, try using a Win98 computer at school. The admins seem to think they were smart when they locked out the start menu. Idiots. Instead of providing extra security it just annoyed the hell out of everyone.