Hi,<br><br>Working to try to find why 0.7.1 doesn't work, I have noticed that nx user and nx group doen't work on my Slackware 12.0 box. 0.7.0 is fine. 0.7.1 dosen't work.<br><br>In 0.7.0 : <br><br style="font-style: italic;">
<span style="font-style: italic;">Setting up /var/lib/nxserver/db ...done</span><br style="font-style: italic;"><span style="font-style: italic;">Setting up /var/log/nxserver.log ...done</span><br style="font-style: italic;">
<span style="font-style: italic;">Setting up special user "nx" ...Password changed.</span><br style="font-style: italic;"><span style="font-style: italic;">done</span><br style="font-style: italic;"><span style="font-style: italic;">
Setting up known_hosts and authorized_keys2 ...done</span><br style="font-style: italic;"><span style="font-style: italic;">Setting up permissions ...done</span><br style="font-style: italic;"><span style="font-style: italic;">
Setting up cups nxipp backend ...done</span><br><br><br><br>in 0.7.1 <br><br><span style="font-style: italic;">Do you want to use your own custom KeyPair? [y/N] ySetting up /etc/nxserver ...done</span><br style="font-style: italic;">
<span style="font-style: italic;">Setting up /var/lib/nxserver/db ...done</span><br style="font-style: italic;"><span style="font-style: italic;">Setting up /var/log/nxserver.log ...done</span><br style="font-style: italic;">
<span style="font-style: italic;">Setting up special user "nx" ...bash-3.1# </span><br><br><span style="font-weight: bold;">Code in 0.7.0 (works)</span><br><br> # Is it a debian?<br> if [ -f /etc/debian_version -a -z "$SETUP_UID" ]
<br> then<br> USERADD_OPTIONS="--ingroup nx --system --home $NX_HOME_DIR --shell $PATH_BIN/nxserver"<br> [ -n "$SETUP_GID" ] && GROUPADD_OPTIONS="--gid $SETUP_GID"<br>
<br> # adduser needs a valid group to add the user to<br> ! nx_group_exists && addgroup --system --quiet $GROUPADD_OPTIONS nx<br> adduser $USERADD_OPTIONS nx<br> <br> # no, its a "normal" useradd
<br> else<br> USERADD_OPTIONS="-g nx -d $NX_HOME_DIR -s $PATH_BIN/nxserver"<br> [ -n "$SETUP_GID" ] && GROUPADD_OPTIONS="-g $SETUP_GID"<br><br> # uid specified?
<br> if [ -n "$SETUP_UID" ]<br> then<br> USERADD_OPTIONS="-u $SETUP_UID $USERADD_OPTIONS"<br> <br> # Is it a SuSE?<br> elif [ -f /etc/SuSE-release ]<br> then
<br> USERADD_OPTIONS="-r $USERADD_OPTIONS"<br> fi<br> <br> if [ "$SETUP_LOCAL_USER" = "yes" ]<br> then<br> ! nx_group_exists && lgroupadd $GROUPADD_OPTIONS nx
<br> luseradd $USERADD_OPTIONS nx<br> else<br> ! nx_group_exists && groupadd $GROUPADD_OPTIONS nx<br> useradd $USERADD_OPTIONS nx<br> fi<br><br> <br> fi<br>
<br><br><br><br><span style="font-weight: bold;">Code in 0.7.1 (does't work)<br><br><br></span><br> else<br> USERADD_OPTIONS="-g nx -d $NX_HOME_DIR -s $PATH_BIN/nxserver"<br> [ -n "$SETUP_GID" ] && GROUPADD_OPTIONS="-g $SETUP_GID"
<br><br> # uid specified?<br> if [ -n "$SETUP_UID" ]<br> then<br> USERADD_OPTIONS="-u $SETUP_UID $USERADD_OPTIONS"<br> <br> # Is it a SuSE?<br> elif [ -f /etc/SuSE-release ]
<br> then<br> USERADD_OPTIONS="-r $USERADD_OPTIONS"<br> fi<br> <br> if [ "$SETUP_LOCAL_USER" = "yes" ]<br> then<br> ! nx_group_exists && lgroupadd $GROUPADD_OPTIONS nx
<br> [ -f /etc/nscd.conf ] && { nscd --invalidate group; }<br><br> luseradd $USERADD_OPTIONS nx<br> [ -f /etc/nscd.conf ] && { nscd --invalidate passwd; }<br> else<br>
! nx_group_exists && groupadd $GROUPADD_OPTIONS nx<br> [ -f /etc/nscd.conf ] && { nscd --invalidate group; }<br><br> useradd $USERADD_OPTIONS nx<br> [ -f /etc/nscd.conf ] && { nscd --invalidate passwd; }
<br> fi<br><br> <br> fi<br><br><br>