"root" execution not permitted. and busybox

From: Nicolas BALDECK <nicolas(at)vizille(dot)net>
To: pgsql-admin(at)postgresql(dot)org
Subject: "root" execution not permitted. and busybox
Date: 2010-12-23 22:05:38
Message-ID: 4D13C7B2.1000506@vizille.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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!
$

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2010-12-23 22:35:31 Re: "root" execution not permitted. and busybox
Previous Message nbald 2010-12-23 22:03:50 "root" execution not permitted. and busybox