[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: itp: static bins / resolving static debian issues



Steve, it's remarkably difficult to construct a shell script that depends
on root's declared shell in /etc/passwd. I don't believe any exist. 

Cron never uses it, the system startup utilities never use it, and I've
never encountered anything else that ever used it either.

So far as I know, the only things that hit root's shell are rshd and 
sshd, and they only assume the existence of a working '-c' that can 
be used to execute commands. This could present a problem, but there 
are also sensible solutions to these problems: sash could be recoded
to use /bin/sh to execute commands specified as a '-c'. 

That would, I think, eliminate any dependence on roots shell whatsoever.

Many people seem to think we're proposing a change to /bin/sh, which 
WOULD have an impact on all crontabs, system scripts, and so forth. We
are not proposing such a change.

Justin


On Sun, Aug 22, 1999 at 05:32:00PM -0500, Steve Greenland wrote:
> On 20-Aug-99, 05:26 (CDT), Marek Habersack <grendel@vip.net.pl> wrote: 
> > * Craig Sanders said:
> > > On Fri, Aug 20, 1999 at 11:13:43AM +0200, Marek Habersack wrote:
> > > > root's shell is nothing but a root's shell. SYSTEM shell is /bin/sh - and
> > > > changing the latter shouldn't be done lightly.
> > > 
> > > i repeat: this does not match my experience of changing root's shell on
> > > other systems.
> > Debian survives - I checked it :)). As I said, at home my root shell is sash
> > - crontabs and everything else works just fine.
> 
> No, *your* particular instance of Debian survived. *Your* crontabs
> worked fine. 
> 
> Steve
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 


Reply to: