Re: "root" execution not permitted. and busybox - Mailing list pgsql-admin

From Daniel J. Summers
Subject Re: "root" execution not permitted. and busybox
Date
Msg-id AANLkTi=8hGFw=K8kuinVeayL52rkn+ddeVYsY=i=C1pF@mail.gmail.com
Whole thread Raw
In response to "root" execution not permitted. and busybox  (nbald <nicolas.baldeck@vizille.net>)
List pgsql-admin
On Thu, Dec 23, 2010 at 3:03 PM, nbald <nicolas.baldeck@vizille.net> wrote:

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

That last line seems to be the problem.  Does /home/pgsql exist?  If it doesn't, and the su command can't complete, you may still be running as root.

--
Daniel J. Summers
Owner, DJS Consulting
E-mail • Website • Support • Tech Blog

GEEKCODE 3.12 GCS/IT d s-:+ a C++ P--- L++ E--- W++ N++ o? K- w !O M--
V PS+ PE++ Y? PGP- t+ 5? X+ R* tv b+ DI++ D+ G- e<++ h---- r+++ y++++

pgsql-admin by date:

Previous
From: Nicolas BALDECK
Date:
Subject: Re: "root" execution not permitted. and busybox
Next
From: Maxim Boguk
Date:
Subject: PD_ALL_VISIBLE flag was incorrectly set happend during repeatable vacuum