pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Nicolas BALDECK <nicolas.baldeck@vizille.net>
To: Scott Marlowe <scott.marlowe@gmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-admin@postgresql.org
Subject: Re: "root" execution not permitted. and busybox
Date: Fri, 24 Dec 2010 02:44:30 +0100
Message-ID: <4D13FAFE.1070508@vizille.net> (raw)
In-Reply-To: <AANLkTi=R5dTEQiv7mi6B8+0ave7HGtVMcsPKY1iSSW0B@mail.gmail.com>
References: <1293141830332-3317041.post@n5.nabble.com>
	<29127.1293143731@sss.pgh.pa.us>
	<AANLkTi=R5dTEQiv7mi6B8+0ave7HGtVMcsPKY1iSSW0B@mail.gmail.com>

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@sss.pgh.pa.us> wrote:
>   
>> nbald <nicolas.baldeck@vizille.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.
>   




view thread (7+ messages)  latest in thread

Message-ID: <4D13FAFE.1070508@vizille.net>
Permalink:  ../4D13FAFE.1070508@vizille.net/
Also on:    postgresql.org/message-id/4D13FAFE.1070508@vizille.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: nicolas.baldeck@vizille.net, scott.marlowe@gmail.com, tgl@sss.pgh.pa.us
  Subject: Re: "root" execution not permitted. and busybox
  In-Reply-To: <4D13FAFE.1070508@vizille.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox