Ken Tanzer wrote:
> >
> > Sure use SHELL=/usr/bin/false:
> >
> >     $ SHELL=/usr/bin/false psql
> >     psql (9.0beta1)
> >     Type "help" for help.
> >     
> >     postgres=>  \!
> >     postgres=>
> >
> >    
> 
> Trouble is, that doesn't stop
> 
> \! bash

Ah, I see.  libc hardcodes the SHELL executable into the system()
library call.

-- 
  Bruce Momjian  <br...@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + None of us is going to be here forever. +

-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

Reply via email to