Livecd-creator add files in /home/*specificuser*/

Posted by Shabutaro on 2012/2/8 10:52:49
Hi, i managed to make my own CentOS 6 LiveCD with the livecd-creator but finally encountered a problem i can't solve.

The thing is i want to make a LiveCD where a custom made software is installed in the home dir of 'softwaretest', but i only managed to get the .tgz into the $LIVECD_ROOT. Now is it even possible to add another user (for the software i need a extra user besides $LIVECD_USER) via post script, mkdir /home/softwaretest/csoft and cp the .tgz from the $LIVE_ROOT into it, untar it and run a .sh script in it? I can't find a solution as i only find how to add files into the $LIVECD_ROOT.. please help me and tell me if you need more info, thx

Shabu

//edit: i tried
useradd softwaretest
but it returned
/root/post-install: line 401: useradd: command not found

This Post was from: https://www.centos.org/newbb/viewtopic.php?forum=56&topic_id=35702&post_id=154269