Skip site navigation (1) Skip section navigation (2)

Re: "root" execution not permitted. and busybox

From: Nicolas BALDECK <nicolas(dot)baldeck(at)vizille(dot)net>
To: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-admin(at)postgresql(dot)org
Subject: Re: "root" execution not permitted. and busybox
Date: 2010-12-24 01:44:30
Message-ID: 4D13FAFE.1070508@vizille.net (view raw or flat)
Thread:
Lists: pgsql-admin
I'm working on an embedded system, and the bundled busybox doesn't 
include useradd nor adduser. So I thought that it was faster to create 
the user that way instead of setting a toolchain and recompiling busybox...

Scott Marlowe wrote:
> On Thu, Dec 23, 2010 at 3:35 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>   
>> nbald <nicolas(dot)baldeck(at)vizille(dot)net> writes:
>>     
>>> this is driving me crazy... Do someone have an idea ?
>>>       
>>> # echo 'pgsql:pgsql:100:100:pgsql:/home/pgsql:/bin/sh' >> /etc/passwd
>>>       
>> That might have been the only way to create a Unix user account back
>> around 1972, but it hardly seems like the recommended way now.  Doesn't
>> your distro provide a tool for that?
>>     
>
> Every distro I've used in the last 5 or 10 years has either adduser or
> useradd and usermod for this kind of stuff.
>   


In response to

pgsql-admin by date

Next:From: Daniel J. SummersDate: 2010-12-24 02:41:15
Subject: Re: "root" execution not permitted. and busybox
Previous:From: Scott MarloweDate: 2010-12-24 00:54:00
Subject: Re: "root" execution not permitted. and busybox

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group