Re: bash - superuser

2004-12-24 Thread Tabor Kelly
Tom Vilot wrote: Admittedly, I'm still a bit of a noob, but I can't stand any shell but bash. Then log in as your normal user and then do a 'su -m' -Tabor ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-qu

Re: bash - superuser

2004-12-24 Thread Paul Schmehl
--On Friday, December 24, 2004 6:53 AM -0900 Andy Firman <[EMAIL PROTECTED]> wrote: So for those of us that want to go back to the way things should be, (leaving root shell be /bin/sh) I fire up vipw and change this: root:*:0:0:Charlie &:/root:/usr/local/bin/bash to this: root:*:0:0:Charlie &:/ro

Re: bash - superuser

2004-12-24 Thread Matthias Buelow
Greg 'groggy' Lehey wrote: This is a particularly tenacious rumour. I've been using bash as my root shell on many different UNIX platforms for nearly 14 years, and I've never had any problems. I've also never seen any substantiated problems reported anywhere. Besides, when your favourite shell is

Re: bash - superuser

2004-12-24 Thread Giorgos Keramidas
On 2004-12-24 15:38, "Colin J. Raven" <[EMAIL PROTECTED]> wrote: > On Dec 24, Josh Paetzel launched this into the bitstream: > >I've always been curious as to why you can't(shouldn't?) just change > >the shell that root uses. > > Josh that's been the backbone of this particular thread over the last

Re: bash - superuser

2004-12-24 Thread Andrew L. Gould
On Friday 24 December 2004 10:52 am, Josh Paetzel wrote: <-snip-> > > I've always been curious as to why you can't(shouldn't?) just change > the shell that root uses. I think it has to do with the fact that some shells executables are in /bin and others are in /usr/local/bin. Root users should u

Re: bash - superuser

2004-12-24 Thread Colin J. Raven
On Dec 24, Josh Paetzel launched this into the bitstream: On Friday 24 December 2004 16:06, Andrew L. Gould wrote: On Friday 24 December 2004 09:53 am, Andy Firman wrote: On Mon, Dec 20, 2004 at 04:54:51PM -0500, Jerry McAllister wrote: Then the thing to do is create another root account and make t

Re: bash - superuser

2004-12-24 Thread Josh Paetzel
On Friday 24 December 2004 16:06, Andrew L. Gould wrote: > On Friday 24 December 2004 09:53 am, Andy Firman wrote: > > On Mon, Dec 20, 2004 at 04:54:51PM -0500, Jerry McAllister wrote: > > > Then the thing to do is create another root account and make > > > the default shell for that one be bash, l

Re: bash - superuser

2004-12-24 Thread Andrew L. Gould
On Friday 24 December 2004 09:53 am, Andy Firman wrote: > On Mon, Dec 20, 2004 at 04:54:51PM -0500, Jerry McAllister wrote: > > Then the thing to do is create another root account and make the > > default shell for that one be bash, leaving the root root be > > /bin/sh. > > So for those of us that

Re: bash - superuser

2004-12-24 Thread Andy Firman
On Mon, Dec 20, 2004 at 04:54:51PM -0500, Jerry McAllister wrote: > Then the thing to do is create another root account and make the > default shell for that one be bash, leaving the root root be /bin/sh. So for those of us that want to go back to the way things should be, (leaving root shell be

Re: bash- superuser

2004-12-21 Thread Dick Davies
* Erik Trulsson <[EMAIL PROTECTED]> [1234 11:34]: > On Tue, Dec 21, 2004 at 10:14:15AM +, Dick Davies wrote: > > I thought the issue was the ldconfig path not being set up at the point > > that pppd called su? > > > > pppd lives in /usr, after all :) > > Not quite. The issue was that the /e

Re: bash- superuser

2004-12-21 Thread Erik Trulsson
On Tue, Dec 21, 2004 at 10:14:15AM +, Dick Davies wrote: > > (sorry if I cocked up your threading, readers - I accidentally deleted > Gregs mail and so pasted this from google groups). > > > There are a couple of reasons why this shouldn't > > happen: > > > > 1. You don't normally start

Re: bash - superuser

2004-12-21 Thread Ruben de Groot
On Mon, Dec 20, 2004 at 04:57:36PM +0100, Erik Norgaard typed: ... > But I do like that bash shows me the options when autocomplete does not > have a unique completion. set autolist will do the equivalent in [t]csh Ruben ___ [EMAIL PROTECTED] mailin

Re: bash - superuser

2004-12-21 Thread Ruben de Groot
On Mon, Dec 20, 2004 at 08:22:12AM -0700, Tom Vilot typed: > > Admittedly, I'm still a bit of a noob, but I can't stand any shell but > bash. That's fine untill you're going to troubleshoot/administer a system with no bash installed. > >No problem for people to be productive with bash or whatev

re: bash- superuser

2004-12-21 Thread Dick Davies
(sorry if I cocked up your threading, readers - I accidentally deleted Gregs mail and so pasted this from google groups). > There are a couple of reasons why this shouldn't > happen: > > 1. You don't normally start networking until you have mounted your >local file systems. > 2. The pro

Re: bash - superuser

2004-12-20 Thread Greg 'groggy' Lehey
On Tuesday, 21 December 2004 at 0:45:45 +, Dick Davies wrote: > * Erik Trulsson <[EMAIL PROTECTED]> [1224 00:24]: >> On Tue, Dec 21, 2004 at 10:30:20AM +1030, Greg 'groggy' Lehey wrote: >>> On Monday, 20 December 2004 at 15:52:27 +0100, Ruben de Groot wrote: On Mon, Dec 20, 2004 at 01:32:

Re: bash - superuser

2004-12-20 Thread Dick Davies
* Erik Trulsson <[EMAIL PROTECTED]> [1224 00:24]: > On Tue, Dec 21, 2004 at 10:30:20AM +1030, Greg 'groggy' Lehey wrote: > > On Monday, 20 December 2004 at 15:52:27 +0100, Ruben de Groot wrote: > > > On Mon, Dec 20, 2004 at 01:32:53PM +, Dick Davies typed: > > >> * Gerhard Meier <[EMAIL PROTECT

Re: bash - superuser

2004-12-20 Thread Erik Trulsson
On Tue, Dec 21, 2004 at 10:30:20AM +1030, Greg 'groggy' Lehey wrote: > On Monday, 20 December 2004 at 15:52:27 +0100, Ruben de Groot wrote: > > On Mon, Dec 20, 2004 at 01:32:53PM +, Dick Davies typed: > >> * Gerhard Meier <[EMAIL PROTECTED]> [1207 12:07]: > >>> On Mon, Dec 20, 2004 at 08:41:57A

Re: bash - superuser

2004-12-20 Thread Greg 'groggy' Lehey
On Monday, 20 December 2004 at 15:52:27 +0100, Ruben de Groot wrote: > On Mon, Dec 20, 2004 at 01:32:53PM +, Dick Davies typed: >> * Gerhard Meier <[EMAIL PROTECTED]> [1207 12:07]: >>> On Mon, Dec 20, 2004 at 08:41:57AM -0200, Giuliano Cardozo Medalha wrote: I have a machine with FreeBSD 5

Re: bash - superuser

2004-12-20 Thread Dick Davies
* David Landgren <[EMAIL PROTECTED]> [1241 17:41]: > Dick Davies wrote: > >To the original poster: just be root and run 'chsh'. > > No. > > When you are logged in as root, you *should* have to go through extra > hoops to get comfortable. On my box I have a # prompt to tell me I'm root. I don't

Re: bash - superuser

2004-12-20 Thread Jerry McAllister
> > >Using a shell not contained in the root filesystem can cause problems > >even when not in single user mode. There are enough examples in the archives. > > > Admittedly, I'm still a bit of a noob, but I can't stand any shell but > bash. > > >>I really don't get what the problem is with this

Re: bash - superuser

2004-12-20 Thread Dick Davies
* Ruben de Groot <[EMAIL PROTECTED]> [1250 14:50]: > > Using a shell not contained in the root filesystem can cause problems > even when not in single user mode. There are enough examples in the archives. Indulge me with an example? -- 'When the door hits you in the ass on the way out, clean

Re: bash - superuser

2004-12-20 Thread Micheal Patterson
- Original Message - From: "Joshua Lokken" <[EMAIL PROTECTED]> To: "David Landgren" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Monday, December 20, 2004 11:04 AM Subject: Re: bash - superuser > On Mon, 20 Dec 2004 12:29:37 +0100,

Re: bash - superuser

2004-12-20 Thread David Landgren
Joshua Lokken wrote: On Mon, 20 Dec 2004 12:29:37 +0100, David Landgren <[EMAIL PROTECTED]> wrote: [...] Leave /bin/sh as your shell. 'Leave' /bin/sh as your shell makes it sound like /bin/sh is the default root shell. Did this change in FreeBSD 5.x? It appears that in 4.x, the root shell is /bi

Re: bash - superuser

2004-12-20 Thread David Landgren
Dick Davies wrote: * Gerhard Meier <[EMAIL PROTECTED]> [1207 12:07]: On Mon, Dec 20, 2004 at 08:41:57AM -0200, Giuliano Cardozo Medalha wrote: I have a machine with FreeBSD 5.3 - release -p2. I have installed bash from ports. How is possible to use bash in root account ? Do not change the shell of

Re: bash - superuser

2004-12-20 Thread Joshua Lokken
On Mon, 20 Dec 2004 12:29:37 +0100, David Landgren <[EMAIL PROTECTED]> wrote: > Giuliano Cardozo Medalha wrote: > > Hi, > > > > I have a machine with FreeBSD 5.3 - release -p2. > > > > I have installed bash from ports. > > > > How is possible to use bash in root account ? > > > > Thanks a lot > >

Re: bash - superuser

2004-12-20 Thread Adam Smith
On Mon, Dec 20, 2004 at 01:07:16PM +0100, Gerhard Meier said: > On Mon, Dec 20, 2004 at 08:41:57AM -0200, Giuliano Cardozo Medalha wrote: > > I have a machine with FreeBSD 5.3 - release -p2. > > > > I have installed bash from ports. > > > > How is possible to use bash in root account ? > > Do no

Re: bash - superuser

2004-12-20 Thread Erik Norgaard
Tom Vilot wrote: Using a shell not contained in the root filesystem can cause problems even when not in single user mode. There are enough examples in the archives. Admittedly, I'm still a bit of a noob, but I can't stand any shell but bash. Is it a big problem just to start bash once you've log

Re: bash - superuser

2004-12-20 Thread Tom Vilot
Using a shell not contained in the root filesystem can cause problems even when not in single user mode. There are enough examples in the archives. Admittedly, I'm still a bit of a noob, but I can't stand any shell but bash. I really don't get what the problem is with this 'sh is on the root

Re: bash - superuser

2004-12-20 Thread Ruben de Groot
On Mon, Dec 20, 2004 at 01:32:53PM +, Dick Davies typed: > * Gerhard Meier <[EMAIL PROTECTED]> [1207 12:07]: > > On Mon, Dec 20, 2004 at 08:41:57AM -0200, Giuliano Cardozo Medalha wrote: > > > I have a machine with FreeBSD 5.3 - release -p2. > > > > > > I have installed bash from ports. > > >

Re: bash - superuser

2004-12-20 Thread Dick Davies
* Gerhard Meier <[EMAIL PROTECTED]> [1207 12:07]: > On Mon, Dec 20, 2004 at 08:41:57AM -0200, Giuliano Cardozo Medalha wrote: > > I have a machine with FreeBSD 5.3 - release -p2. > > > > I have installed bash from ports. > > > > How is possible to use bash in root account ? > > Do not change the

Re: bash - superuser

2004-12-20 Thread Gerhard Meier
On Mon, Dec 20, 2004 at 08:41:57AM -0200, Giuliano Cardozo Medalha wrote: > I have a machine with FreeBSD 5.3 - release -p2. > > I have installed bash from ports. > > How is possible to use bash in root account ? Do not change the shell of the root account. If you have /usr or /usr/local on a se

Re: bash - superuser

2004-12-20 Thread David Landgren
Giuliano Cardozo Medalha wrote: Hi, I have a machine with FreeBSD 5.3 - release -p2. I have installed bash from ports. How is possible to use bash in root account ? Thanks a lot Don't. Leave /bin/sh as your shell. If you want to run bash as root, log in as usual and then run 'exec bash' to replace

bash - superuser

2004-12-20 Thread Giuliano Cardozo Medalha
Hi, I have a machine with FreeBSD 5.3 - release -p2. I have installed bash from ports. How is possible to use bash in root account ? Thanks a lot Giuliano ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To un