pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Nicolas BALDECK <nicolas@vizille.net>
To: pgsql-admin@postgresql.org
Subject: "root" execution not permitted. and busybox
Date: Thu, 23 Dec 2010 23:05:38 +0100
Message-ID: <4D13C7B2.1000506@vizille.net> (raw)

Hi guys, 
this is driving me crazy... Do someone have an idea ? 

# echo 'pgsql:pgsql:100:100:pgsql:/home/pgsql:/bin/sh' >> /etc/passwd 
# su - pgsql 
warning: cannot change to home directory 


BusyBox v1.7.2 (2010-12-23 22:00:59 CET) built-in shell (ash) 
Enter 'help' for a list of built-in commands. 

$ /tmp/mnt/usb0/part1/usr/bin/postmaster -D '/tmp/mnt/usb0/part1/caisse/db' 
"root" execution of the PostgreSQL server is not permitted. 
The server must be started under an unprivileged user ID to prevent 
possible system security compromise.  See the documentation for 
more information on how to properly start the server. 
$ su 
su: applet requires root privileges! 
$



view thread (7+ messages)  latest in thread

Message-ID: <4D13C7B2.1000506@vizille.net>
Permalink:  ../4D13C7B2.1000506@vizille.net/
Also on:    postgresql.org/message-id/4D13C7B2.1000506@vizille.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: nicolas@vizille.net
  Subject: Re: "root" execution not permitted. and busybox
  In-Reply-To: <4D13C7B2.1000506@vizille.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox