Behaviour of su(1)

Mel fbsd.questions at rachie.is-a-geek.net
Mon Nov 3 15:08:25 PST 2008


On Friday 31 October 2008 19:33:44 Frédéric Perrin wrote:

> As a side question, is it considered bad practice to set root's shell
> and locales to something else then the default ?

By some (most?) yes. If you decide to change the default shell, to one that's 
not in the base system (i.e., a ksh/zsh/bash port), then it's highly 
recommended to make a static version that installs into /bin.
This will save you a number of headaches, when a library dependency is 
(unsuccessfully or partially) upgraded or /usr is not accessable.
However, when reporting bugs and you only slightly suspect it to be shell 
related, you should be able to reproduce it on csh for the purpose of 
reporting and adjust the bugreport if you can not.

-- 
Mel

Problem with today's modular software: they start with the modules
    and never get to the software part.


More information about the freebsd-questions mailing list