DaemonForums  

Go Back   DaemonForums > NetBSD > NetBSD General

NetBSD General Other questions regarding NetBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 13th August 2024
nandi78 nandi78 is offline
Port Guard
 
Join Date: Aug 2024
Posts: 10
Default proper way making bash default

I tried to make bash the default shell
i did whereis bash
and chsh -s /usr/pkg/bash user
its not working that user cant login.
Could someone tell me what is
the proper way making bash default
on Netbsd?
Reply With Quote
  #2   (View Single Post)  
Old 13th August 2024
jmccue jmccue is offline
Real Name: John McCue
Package Pilot
 
Join Date: Aug 2012
Location: here
Posts: 182
Default

You want:

chsh -s /usr/pkg/bin/bash

Plus you should add "/usr/pkg/bin/bash" to "/etc/shells" if not already there

__________________
[t]csh(1) - "An elegant shell, for a more... civilized age."
- Paraphrasing Star Wars (tvtropes.org)
Reply With Quote
  #3   (View Single Post)  
Old 18th August 2024
nandi78 nandi78 is offline
Port Guard
 
Join Date: Aug 2024
Posts: 10
Default

Yes thank you i made the mistake missed out part of the the path
got confused when i realized Netbsd apps are not in /usr/local/bin/
Reply With Quote
Reply

Tags
bash shell default

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Proper way to make an OpenBSD floppy? yetoo OpenBSD General 9 20th June 2018 02:30 AM
OpenBSD with proper encoding beiroot OpenBSD General 2 3rd May 2017 02:23 PM
Making your own Distro SL6-A2000 FreeBSD General 4 22nd August 2011 01:50 PM
Z-410: How ZFS is slowly making its way to Mac OS X J65nko News 0 18th March 2011 08:10 PM
Proper display of accents in mails sent by PERL stukov Programming 5 15th May 2008 04:03 AM


All times are GMT. The time now is 03:02 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick