Обсуждение: "root" execution not permitted. and busybox

Поиск
Список
Период
Сортировка

"root" execution not permitted. and busybox

От
Nicolas BALDECK
Дата:
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

От
Jasen Betts
Дата:
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