Thread: "root" execution not permitted. and busybox

"root" execution not permitted. and busybox

From
Nicolas BALDECK
Date:
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!
$

Re: "root" execution not permitted. and busybox

From
Jasen Betts
Date:
On 2010-12-23, Nicolas BALDECK <nicolas@vizille.net> wrote:
> Hi guys,
> this is driving me crazy... Do someone have an idea ?

run some diagnotsics.
(id -a, ls -l)

maybe install a more complete environment temporarily.

> $ /tmp/mnt/usb0/part1/usr/bin/postmaster -D '/tmp/mnt/usb0/part1/caisse/db'
> "root" execution of the PostgreSQL server is not permitted.

what's the UID at this moment?

what's the file sytem type of /tmp/mnt/usb0/part1/



--
⚂⚃ 100% natural