Author Topic: bash as default shell  (Read 637 times)

Master of Reality

  • VIP
  • Member
  • ***
  • Posts: 4,249
  • Kudos: 177
    • http://www.bobhub.tk
bash as default shell
« on: 8 September 2002, 07:49 »
How do i change root and users default shell to bash in OpenBSD?

[ September 07, 2002: Message edited by: Master of Reality / Bob ]

Disorder | Rating
Paranoid: Moderate
Schizoid: Moderate
Linux User #283518
'It takes more than a self-inflicted gunshot wound to the head to stop Bob'

TheQuirk

  • VIP
  • Member
  • ***
  • Posts: 2,154
  • Kudos: 315
bash as default shell
« Reply #1 on: 8 September 2002, 08:11 »
whoops..

it's:
chpass [-ly] [-a list] [-s newshell] [user]

so..
$chpass -s bash root

(you can replace chpass with chfn or chsh)

and make sure it's in /etc/shells (I never used OpenBSD.. who knows, maybe they don't have it)

[ September 07, 2002: Message edited by: TheQuirk ]


voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
bash as default shell
« Reply #2 on: 8 September 2002, 21:18 »
Sounds like m0r needs to do a little R'ing of TFM.
Someone please remove this account. Thanks...

Master of Reality

  • VIP
  • Member
  • ***
  • Posts: 4,249
  • Kudos: 177
    • http://www.bobhub.tk
bash as default shell
« Reply #3 on: 8 September 2002, 21:29 »
TFM?
Disorder | Rating
Paranoid: Moderate
Schizoid: Moderate
Linux User #283518
'It takes more than a self-inflicted gunshot wound to the head to stop Bob'

TheQuirk

  • VIP
  • Member
  • ***
  • Posts: 2,154
  • Kudos: 315
bash as default shell
« Reply #4 on: 8 September 2002, 21:41 »
read the fucking manual.

TheQuirk

  • VIP
  • Member
  • ***
  • Posts: 2,154
  • Kudos: 315
bash as default shell
« Reply #5 on: 8 September 2002, 21:50 »
Also, try #openbsd on irc.freenode.net. And www.openbsd.org has an online man feature, in case you didn't notice.

Master of Reality

  • VIP
  • Member
  • ***
  • Posts: 4,249
  • Kudos: 177
    • http://www.bobhub.tk
bash as default shell
« Reply #6 on: 8 September 2002, 10:01 »
oh... I am used to people saying STFW.
void main is a fucking genius though, (not in this thread... I meant back in april he was a genius) I just solved i problem i had by reading some posts of his a long time ago.
Disorder | Rating
Paranoid: Moderate
Schizoid: Moderate
Linux User #283518
'It takes more than a self-inflicted gunshot wound to the head to stop Bob'

TheQuirk

  • VIP
  • Member
  • ***
  • Posts: 2,154
  • Kudos: 315
bash as default shell
« Reply #7 on: 8 September 2002, 10:42 »
Did he suddenly go stupid?? :-p

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
bash as default shell
« Reply #8 on: 8 September 2002, 17:51 »
You want to know how I became the "genious" as you call it?  I used to ask questions like you are, and people used to tell me to "RTFM". Once I started following that advice I became what you think I am.  However, I've never thought of myself as that. Well actually I did think that for about a day around 10 years ago but then I realized I wasn't even scratching the suface.  To this day I am *still* just scracting the surface.  So before you start thinking otherwise of me for making that statement, you may want to reconsider.  It could be the best advice anyone has given you to date.

When you RTFM you pick up *much* more than you could by someone answering your specific question.  From this point on, I will not answer your questions directly but give you hints to where you can find the answer on your own.  You have reached that point grasshopper.
Someone please remove this account. Thanks...

Master of Reality

  • VIP
  • Member
  • ***
  • Posts: 4,249
  • Kudos: 177
    • http://www.bobhub.tk
bash as default shell
« Reply #9 on: 9 September 2002, 01:44 »
i was just about to go on the net last night to search for how to change from iptables to ipchains (or vice versa) and i noticed that you said it in a post back in April.
Disorder | Rating
Paranoid: Moderate
Schizoid: Moderate
Linux User #283518
'It takes more than a self-inflicted gunshot wound to the head to stop Bob'

KernelPanic

  • VIP
  • Member
  • ***
  • Posts: 1,878
  • Kudos: 222
bash as default shell
« Reply #10 on: 9 September 2002, 02:32 »
quote:
Originally posted by void main:
You want to know how I became the "genious" as you call it?  I used to ask questions like you are, and people used to tell me to "RTFM". Once I started following that advice I became what you think I am.  However, I've never thought of myself as that. Well actually I did think that for about a day around 10 years ago but then I realized I wasn't even scratching the suface.  To this day I am *still* just scracting the surface.  So before you start thinking otherwise of me for making that statement, you may want to reconsider.  It could be the best advice anyone has given you to date.

When you RTFM you pick up *much* more than you could by someone answering your specific question.  From this point on, I will not answer your questions directly but give you hints to where you can find the answer on your own.  You have reached that point grasshopper.



void main was the "genious" bit a joke.
If it was you are comedy genius, if not then you need to learn how to spell.  
Contains scenes of mild peril.

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
bash as default shell
« Reply #11 on: 9 September 2002, 02:54 »
See, that proves my point. You can't be a genius if you don't even know how to spell the freaking word!    I would like to blame that one on my one handed typing but it's obvious it was not a typo. Would be nice to have a built-in spell checker on this board. It would save us "idiot savants" from looking like one.
Someone please remove this account. Thanks...

Master of Reality

  • VIP
  • Member
  • ***
  • Posts: 4,249
  • Kudos: 177
    • http://www.bobhub.tk
bash as default shell
« Reply #12 on: 9 September 2002, 02:58 »
onyl one er to peepll wood yous da spell chekre... sum off os dun geeve eh shite aboot ar spellering.
Disorder | Rating
Paranoid: Moderate
Schizoid: Moderate
Linux User #283518
'It takes more than a self-inflicted gunshot wound to the head to stop Bob'