|
From: NVangogh on 26 Aug 2008 09:53 in install, i tried to set bash as the login shell and got a error -only sh?? whys this - why cant i simply use bash for eveything to do with console? if i can do like this then can you tell me how to do it cause i am a learner on this.
From: Philip Paeps on 26 Aug 2008 09:57 NVangogh <NVangogh(a)artgallery.net> wrote: > in install, i tried to set bash as the login shell and got a error -only > sh?? whys this - why cant i simply use bash for eveything to do with > console? What exactly did you do and what exactly was the error? > if i can do like this then can you tell me how to do it cause i am a > learner on this. This should do it: pkg_add -r bash chsh -s /usr/local/bin/bash - Philip -- Philip Paeps Please don't email any replies philip(a)paeps.cx I follow the newsgroup. * azz notes that BT have just fixed our ADSL, so the "couple of days" might actually be true as of now ;) <ben> "Oct 4 19:13:00 veloci pppd[11027]: Connection terminated." [netsplit follows...]
From: Drew Lawson on 26 Aug 2008 10:31 In article <pan.2008.08.26.13.53.04.484375(a)artgallery.net> NVangogh <NVangogh(a)artgallery.net> writes: >in install, i tried to set bash as the login shell and got a error -only >sh?? whys this - why cant i simply use bash for eveything to do with >console? Philip already handled how (though you may also need to add bash to /etc/shells). The main answer to why is that bash isn't part of the base system. You can't specify that it is your shell until after it is installed. I just looked at my 7.0 system and only find bash in /usr/compat/linux/bin. There's also a port for it, but I haven't had any reason to install it. -- Drew Lawson | Though it's just a memory, | some memories last forever
From: Giorgos Keramidas on 26 Aug 2008 14:10 On Tue, 26 Aug 2008 14:31:40 +0000 (UTC), drew(a)furrfu.invalid (Drew Lawson) wrote: > In article <pan.2008.08.26.13.53.04.484375(a)artgallery.net> > NVangogh <NVangogh(a)artgallery.net> writes: >>in install, i tried to set bash as the login shell and got a error -only >>sh?? whys this - why cant i simply use bash for eveything to do with >>console? > > Philip already handled how (though you may also need to add bash to > /etc/shells). The main answer to why is that bash isn't part of the > base system. You can't specify that it is your shell until after it > is installed. Because nobody wants to go through the trouble of importing a snapshot of bash in src/ *and* maintaining it as the upstream developers fix bugs, add new features, update the documentation and so on. Installing it from /usr/ports is so easy that it's not worth all the trouble :) > I just looked at my 7.0 system and only find bash in > /usr/compat/linux/bin. There's also a port for it, but I haven't had > any reason to install it. That is a Linux binary. It is used by the Linux compatibility shims, and it is useful for running all the Linux scripts that assume bash lives in /bin, but not for much else. If you want a native FreeBSD version of bash, it's a better idea to pkg_add it.
From: Lars Eighner on 26 Aug 2008 15:02 In our last episode, <pan.2008.08.26.13.53.04.484375(a)artgallery.net>, the lovely and talented NVangogh broadcast on comp.unix.bsd.freebsd.misc: > in install, i tried to set bash as the login shell and got a error -only > sh?? whys this - why cant i simply use bash for eveything to do with > console? You can, but you must install bash from the ports. Since bash is not part of the core system, it may not be available in an emergency. For that reason, it is best to use 'toor' as the bash-shell superuser (which is the purpose of the toor account), so root retains csh as its shell for emergency use. There is no reason other users should not use bash. > if i can do like this then can you tell me how to do it cause i am a > learner on this. First install bash from /usr/ports/shells. Note: bash is installed in /usr/local/bin. If you want to change the shell for a large number of accounts, it may be easier to edit master.passwd directly with vipw (change the environmental variable EDITOR to a editor you are comfortable with first, if you do not know vi). But if you are not familiar with this, it is safer to use chsh: see the man page --- at least backup master.passwd first if you have never edited it before. -- Lars Eighner SAVE BEASTIE! "What do you do when you're debranded?" usenet(a)larseighner.com http://larseighner.com/ "Stale dependency": When pkgdb -F reports this, it means the dependency is missing, not that the dependency is obsolete.
|
Next
|
Last
Pages: 1 2 3 4 5 6 7 Prev: FreeBSD Telephony Software Inquiry Next: USB oddities 7.0 (kbd, mouse) |