Mailinglist Archive: opensuse-buildservice (312 mails)

< Previous Next >
Re: [opensuse-buildservice] Query re 'useradd' and 'userdel' commands.
  • From: "Dominique Leuenberger" <Dominique.Leuenberger@xxxxxxxxxxxxx>
  • Date: Wed, 22 Jul 2009 13:45:35 +0200
  • Message-id: <4A6717FF0200002900025EE1@xxxxxxxxxxxxxxxxxxx>
Hi,

On 7/22/2009 at 13:39, <doiggl@xxxxxxxxxxxxxxxxxx> wrote:
/var/tmp/rpm-tmp.11461: line 3: useradd: command not found
error: %pre(cricket-1.0.5-11.1.x86_64) scriptlet failed, exit status 127
error: install: %pre scriptlet failed (2), skipping cricket-1.0.5-11.1
failed to install rpms, aborting build
System halted.

Question: How can I ensure the 'useradd' and 'userdel' routines in the %pre
and %postun sections run without error and do I get those commands enabled

You have to use /usr/sbin/useradd & /usr/sbin/userdel.

Dominique
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups