Polkit useradd command question

Nathan Coulson conathan at gmail.com
Thu Jul 1 01:05:40 PDT 2010

I noted that the book contained

groupadd -fg 27 polkituser &&
useradd -c "Policy Kit Daemon User" -d /dev/null -u 27 \
    -g polkituser -s /bin/false polkituser || [ $? == 9 ]

is the [? == 9] just to change the command to true if the useradd
command fails?  I have not seen BLFS do this anywhere else.

Nathan Coulson (conathan)
Location: Brittish Columbia, Canada
Timezone: PST (-8)
Webpage: http://www.nathancoulson.com

More information about the blfs-dev mailing list