chmod -v 644 /etc/default/useradd
-if [ -n "${REGUSER}" ]; then
- hv_useradd -g users -G audio,video,cdrom,usb,shutdown -s /bin/bash -m ${REGUSER}
-fi
-
echo "Copying /etc/skel files to root directory"
-# Copy skel files to root directory. First create a copy to change owner
+# First create a copy to change owner
cp -au /etc/skel/.??* /root
# Fixing ownership of directories /tmp and /var/log (may have been created by
EOF
# Now add the users you would like to the halusers group to use HAL:
- usermod -a -G halusers ${REGUSER}
+ ##usermod -a -G halusers ${USERNAME}
# With the above configuration in place, authorized users now have the
# ability to unmount disk partitions mounted at non-standard locations such
source ../functions/main
+if [ -n "${REGUSER}" ]; then
+ hv_useradd -g users -G audio,video,cdrom,usb,shutdown,halusers \
+ -s /bin/bash -m ${REGUSER}
+fi
+
if [ "x${INST_TYPE}" = "xserver" -o "x${INST_TYPE}" = "xltsp-server" ]; then
#########################################