sudo blocks aliases

Vram lamsokvr at xprt.net
Fri Dec 30 05:47:54 UTC 2005


On Fri, 2005-12-30 at 18:25 +1300, Tim Frost wrote:
> On Thu, 2005-12-29 at 20:58 -0800, James Diehl wrote:
> > In my synaptic pkg. mgr. I can click the status button and see what I
> > have installed, and not installed.  Below the pkg. window is another
> > window and several tabs for description, dependency, installed,
> > versions.  When I clicked the not installed, descriptions and
> > versions, it listed the possible shells, which one was installed, the
> > type, size and description for each one when I highlighted it.  I was
> > interested in which one I should use because I wanted to install an
> > oracle database on my system.  The installation instructions said I
> > needed to make files with bash, and I couldn't until I switched to the
> > larger Bourne Again shell.  I'm not making it up!  I don't know if
> > this information is on all Ubuntu pkg. mgrs., but that's what it said
> > in mine.  I browse through that thing all of the time, trying to find
> > things to add to my system for developing.  Every time I try to work
> > with a database or something, I end up going in there and adding
> > another item!
> 
> The bash shell is in section "base", and is a dependency of
> ubuntu-minimal.  As others have said, bash is the default shell for
> users.
> > 
> To quote the dash description: 
>  "dash" is a POSIX compliant shell that is much smaller than "bash".
>  We take advantage of that by making it the shell on the installation
>  root floppy, where space is at a premium.
> 
> 
> Dash appears to be installed to support discover1




Thanks for clearing that up!!!

Vram


> 
> 
> 
> You can confirm that bash is your shell (and is used by root) by:
> echo $SHELL
> 
> sudo -i
> echo $SHELL
> 
> (sudo -i creates a root login shell, by running ~root/.bash_profile
> and /etc/profile).
> 
> 
> But, as others have indicated, you will have to modify your aliases to
> work in Ubuntu because of its default setup using sudo.
> 
> 
> 
> 
> Tim
> 
> 





More information about the ubuntu-users mailing list